Create Contact
POST/contacts/
Create a new contact
Request
API Version
v3- application/json
- Body
- Example (auto)
Bodyrequired
emailrepresents the contact’s primary email address.additionalEmailsrepresents secondary email addresses for the same contact.- Always send the primary
emailtogether withadditionalEmailswhen updating email addresses. - A maximum of 10 additional email addresses can be provided.
phonerepresents the contact’s primary phone number.additionalPhonesrepresents secondary phone numbers for the same contact.- Always send the primary
phonetogether withadditionalPhoneswhen updating phone numbers. - A maximum of 10 additional phone numbers can be provided.
phoneLabelis optional. Allowed values:Home,Work,Mobile, orLandline. A label can belong to only one phone number on the contact, including the primary. If a label is repeated, it is kept on the first phone number and removed from the others.
First name of the contact
Last name of the contact
Full name of the contact
Email address of the contact
Location Id the contact should be created under
Gender of the contact
Phone number of the contact
Street address of the contact
City of the contact
State of the contact
Postal code of the contact
Website URL of the contact
Timezone of the contact
Whether Do Not Disturb is enabled for the contact
Inbound DND settings per channel for the contact
List of tags to assign to the contact
List of custom field values to assign to the contact
Source from which the contact was created
The birth date of the contact. Supported formats: YYYY/MM/DD, MM/DD/YYYY, YYYY-MM-DD, MM-DD-YYYY, YYYY.MM.DD, MM.DD.YYYY, YYYY_MM_DD, MM_DD_YYYY
Country code of the contact (ISO 3166-1 alpha-2)
Company name of the contact
User's Id
Add additional email addresses to a contact.
⚠️ Important: When sending
additionalEmails, you must also include the contact’s current primary
If you sendadditionalEmailswithout
Example
{
"additionalEmails": [
{
}
]
}
Avoid
{
"additionalEmails": [
{
}
]
}
Sending only additionalEmails may cause the existing primary email to be lost.
If email uniqueness is enabled for the location, every email address in the request—primary and additional—must be unique across contacts. If any email already belongs to another contact, the request fails with 400 Bad Request and no changes are saved.
Possible values: <= 10
Add additional phone numbers to a contact.
⚠️ Important: When sending
additionalPhones, you must also include the contact’s current primaryphonein the same request.
If you sendadditionalPhoneswithoutphone, the contact’s existing primary phone may be cleared or replaced.
Example
{
"phone": "+14155550100",
"additionalPhones": [
{
"phone": "+14155550101",
"phoneLabel": "Work"
}
]
}
Avoid
{
"additionalPhones": [
{
"phone": "+14155550101",
"phoneLabel": "Work"
}
]
}
Sending only additionalPhones may cause the existing primary phone number to be lost.
If phone uniqueness is enabled for the location, every phone number in the request—primary and additional—must be unique across contacts. If any phone number already belongs to another contact, the request fails with 400 Bad Request and no changes are saved.
Possible values: <= 10
Per-channel DND settings for the contact
{
"firstName": "Rosan",
"lastName": "Deo",
"name": "Rosan Deo",
"locationId": "ve9EPM428h8vShlRW1KT",
"gender": "male",
"phone": "+1 888-888-8888",
"address1": "3535 1st St N",
"city": "Dolomite",
"state": "AL",
"postalCode": "35061",
"website": "https://www.tesla.com",
"timezone": "America/Chihuahua",
"dnd": true,
"inboundDndSettings": {
"all": {
"status": "active",
"message": "Do not contact me"
}
},
"tags": [
"nisi sint commodo amet",
"consequat"
],
"customFields": [
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"fieldValue": "My Text"
}
],
"source": "public api",
"dateOfBirth": "1990-09-25",
"country": "US",
"companyName": "DGS VolMAX",
"assignedTo": "y0BeYjuRIlDwsDcOHOJo",
"additionalEmails": [
{
}
],
"additionalPhones": [
{
"phone": "+18832327657",
"phoneLabel": "Mobile"
}
],
"dndSettings": {
"call": {
"status": "active",
"message": "Do not call"
},
"email": {
"status": "inactive"
}
}
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
Contact details
{
"contact": {
"id": "seD4PfOuKoVMLkEZqohJ",
"name": "rubika deo",
"firstName": "rubika",
"lastName": "Deo",
"phone": "+18832327657",
"locationId": "ve9EPM428h8vShlRW1KT"
}
}