Create Contact
POST/contacts/
Create a new contact
Request
API Version
v3- application/json
- Body
- Example (auto)
Bodyrequired
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
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",
"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"
}
}