Choose v1 or v2 contacts
Use the contact surface that matches the identifiers you have.| Use case | Endpoint family |
|---|---|
| Create or update a basic phone-based contact with an integer contact ID | v1 contact endpoints |
| Retrieve or update a contact by UUID, or manage phone/email channels on one contact | v2 contact endpoints |
| Find a contact when you only know a phone number or email address | POST /v2/contacts/search |
id values. The v2 endpoints use the contact UUID as contactID.
Create a contact
Create a v1 contact withPOST /v1/contact. A phone number is required and must use E.164 digits without the leading plus sign.
id, revision, and UUID.
Update a contact
UsePUT /v1/contact/{id} to update an existing v1 contact. Include phone in the request body.
overwrite query parameter controls custom-field updates:
overwrite=falsemerges the provided custom fields with existing values.overwrite=truereplaces existing custom field values with the object you provide.
Contact names are overwritten during update regardless of the
overwrite value.Work with custom fields
Custom field keys are numeric field IDs, not field names. Get the IDs before writing custom values.custom object.
Search by phone or email
UsePOST /v2/contacts/search when you have a channel value and need the matching contact.
channel_type when Heymarket can infer it from the value format.
Add a contact channel
UsePOST /v2/contact/{contactID}/channel to add another phone number, email address, or supported channel to an existing v2 contact.
List and delete contacts
UsePOST /v1/contacts to paginate contacts. Pass the previous page’s last timestamp as date to retrieve the next page. For example, if the last contact on the current page has updated: "2026-04-12T15:30:00Z", use that timestamp as the next date cursor.
DELETE /v1/contact/{id}.
Related pages
Contacts
Understand contact identifiers, channels, tags, and status.
Contacts reference
Review contact endpoints and field-level details.
Search contacts reference
Look up contacts by phone number, email address, or another channel value.
Contact channel reference
Add a channel to an existing v2 contact.