Create a contact
POST/v3/contacts
Create a contact
Request
- application/json
Body
Possible values: <= 255 characters
Full Name of contact
Possible values: <= 255 characters
Email of contact. Can be optional only if anonymous contact feature is enabled.
Possible values: <= 255 characters
Phone number of the contact
Possible values: <= 255 characters
Mobile number of the contact
Possible values: <= 255 characters
Job Title of the contact
Possible values: [contact
, employee
]
Default value: contact
Type of contact
Possible values: <= 255 characters
Reference ID of the anonymous contact
Possible values: <= 255 characters
, Value must match regular expression /^[a-zA-Z0-9]+$/
Unique ID of the contact
Unsubscribed status of the contact
Possible values: <= 255 characters
Reason for unsubscribing
Responses
- 200
Successful
- */*
- Schema
- Example (from schema)
Schema
data
object
Possible values: <= 255 characters
Full Name of contact
Email of contact
Possible values: <= 255 characters
Phone number of the contact
Possible values: <= 255 characters
Mobile number of the contact
Possible values: <= 255 characters
Job Title of the contact
Possible values: [contact
, employee
]
Default value: contact
Type of contact
Possible values: <= 255 characters
Reference ID of the anonymous contact
Possible values: <= 255 characters
, Value must match regular expression /^[a-zA-Z0-9]+$/
Unique ID of the contact
Unsubscribed status of the contact
Possible values: <= 255 characters
Reason for unsubscribing
{
"data": {
"full_name": "Jane Doe",
"email": "[email protected]",
"phone": "91234567833",
"mobile": "1653452783",
"job_title": "Manager",
"contact_type": "contact",
"referenceId": "123456",
"unique_id": "abc123",
"unsubscribed": false,
"unsubscribe_text": "Not interested"
}
}