post https://connect.routee.net/contacts/my
Create a new contact or update it if it already exists.
RESPONSE PARAMETERS
KEY | DESCRIPTION |
---|---|
blacklistedServices | Defines all the services for which the contact has been blacklisted. |
country | The country information of the contact. |
The e-mail address of the contact. | |
firstName | The first name of the contact. |
id | The identification of the contact. |
lastName | The last name of the contact. |
groups | All contact groups (tags) that this contact belongs to. |
mobile | The mobile number of the contact. |
vip | Indicates whether the contact is treated as vip or not. |
labels | Contains the contact's labels with their respective values. |
labels.name | The name of the label. |
labels.type | The type of the label. Supported types are: Text or Number. |
labels.value | The value of the label. |
ERROR CODES
STATUS | CODE | DESCRIPTION |
---|---|---|
404 | 404001001 | Account not found |
404 | 404002001 | Contact not found |
400 | 400002006 | Custom fields are invalid |
409 | 409002013 | Some Custom fields share the same name |
409 | 409002005 | Contact mobile already exists |
404 | 404002012 | Custom field definition is not found |