Add Contact
This request is used to create a contact within a group
URL
POST
https://api.smspartner.fr/v1/contact/add
Required Parameters
apiKey
groupId
The ID of the group to which the contact will be added
phoneNumber
Contact phone number. It must be:
In national format (06xxxxxxxx) or international format (+336xxxxxxxx) for French numbers
In international format (+496xxxxxxxx) for numbers outside France
Optional Parameters
firstname
First name (max 32 characters)
lastname
Last name (max 32 characters)
date
Date in YYYY-MM-DD format. Can be used for automatic sending (e.g., birthday)
url
URL, must start with http:// or https://
custom1
Custom field 1
custom2
Custom field 2
custom3
Custom field 3
custom4
Custom field 4
Request
Réponse
Errors
Error Codes
1
groupId is required
2
Contact information is required
10
API key is required
15
The phone number already exists in the group
Last updated