Create a contact
post/api/v1/contactsCreates a new contact and returns the created contact's ID upon a successful API call.
Code snippet
curl -X 'POST' \
'https://{yourdomain}/api/v1/contacts' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}' \
-H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
-d '{
"data": {
"firstName": "John",
"lastName": "Wick",
"emailAddresses": [
{
"value": "[email protected]",
"label": "Business",
"isPrimary": true
}
],
"phoneNumbers": [
{
"value": "9003790037",
"label": "Business",
"isPrimary": true
}
],
"street": "123 Main Street",
"city": "New York",
"state": "New York",
"country": "US",
"postalCode": "1252",
"doNotEmail": true,
"doNotCall": true,
"twitter": "https://www.twitter.com/john",
"facebook": "https://www.facebook.com/john",
"linkedIn": "https://www.linkedin.com/John",
"jobTitle": "Engineer",
"companies": [
{
"id": 194,
"isPrimary": true
}
],
"owner": {
"id": 227
},
"description": "Test",
"dateOfBirth": "2025-08-01",
"latestSourceDate": "2025-09-05",
"originalSource": {
"id": 947
},
"latestSource": {
"id": 954
},
"lifecycleStage": {
"id": 517
},
"salutation": {
"id": 968
},
"customFields": {
"cf_preferred_language": {
"id": 1
}
}
}
}'
Query parameters
| skipValidationboolean | A flag indicating whether to bypass specific validations during contact creation. If set to true, the system skips checks for required fields, conditional logic, and field dependencies. When false (or unspecified), all standard validations are applied. |
Request body
| firstNamestring | Represents the first name of the contact. | ||||||
| lastNamestring | Represents the last name of the contact. | ||||||
emailAddressesarray | Email addresses for the contact. This field supports multiple values.
| ||||||
phoneNumbersarray | Phone numbers for the contact. This field supports multiple values.
| ||||||
| streetstring | The street portion of the address, including house number and road name. | ||||||
| citystring | The city or locality of the contact's address. | ||||||
| statestring | The state, province, or region tied to the address. | ||||||
| countrystring | The country associated with the address. | ||||||
| postalCodestring | Postal or ZIP code used for mail delivery. | ||||||
| doNotEmailboolean | Specifies whether email communication should be disabled for this contact. | ||||||
| doNotCallboolean | Specifies whether call communication should be disabled for this contact. | ||||||
| twitterstring | The contact's Twitter (X) handle or profile URL. | ||||||
| facebookstring | The contact's Facebook handle or profile URL. | ||||||
| linkedInstring | The contact's LinkedIn handle or profile URL. | ||||||
| jobTitlestring | The contact's professional title or position. | ||||||
companiesarray | The companies that will be associated with this contact.
| ||||||
ownerobject | The owner of the contact.
| ||||||
| descriptionstring | Additional details or notes about the contact. | ||||||
| dateOfBirthstring | The contact's date of birth. | ||||||
| latestSourceDatestring | The most recent date the contact engaged with your business. | ||||||
originalSourceobject | The first known source through which the contact interacted with your business.
| ||||||
latestSourceobject | Represents the most recent acquisition channel through which the contact was engaged.
| ||||||
lifecycleStageobject | Represents the stage at which the contact resides within the marketing or sales lifecycle.
| ||||||
salutationobject | Represents the formal or preferred title for a contact, used for personalizing communication and maintaining professional tone.
| ||||||
| customFieldsobject | Represents a collection of user-defined custom fields used to enrich the record. Refer to the Field types page to learn more about field types and their request formats. |
Example response
201 Created
{
"message": "Contact created successfully.",
"data": {
"id": 202730
}
}