Create a contact
Send aPOST request to /v1/contact with at least a phone number. All other fields are optional.
Create contact fields
| Field | Type | Description |
|---|---|---|
phone | string | Required. E.164 format without leading plus (e.g., 15105553344). |
first | string | First name. |
last | string | Last name. |
display_name | string | Name shown in conversations if different from first + last. |
email | string | Email address. |
custom | object | Custom field values keyed by numeric field ID as a string. |
avatar | string | URL of a profile image. |
assignee_id | integer | User ID to assign this contact to by default. |
tags | array of objects | Tags to apply to the contact. Each item is {"tag_id": integer}. Maximum of 5. |
is_opted_out | boolean | When true, marks the contact as opted out of messaging. |
Get a contact by ID
Retrieve a single contact by passing its ID in the URL path.Update a contact
Send aPUT request to /v1/contact/{id} to update fields on an existing contact. phone is required; all other fields are optional.
overwrite query parameter to control how custom fields are merged:
?overwrite=false(default) — merges the provided custom fields with existing values, preserving fields you do not include.?overwrite=true— replaces all existing custom field values with the ones you provide.
Delete a contact
Send aDELETE request to remove a contact permanently.
List all contacts
Send aPOST request to /v1/contacts to retrieve a paginated list of contacts. Use the date parameter as a cursor to page through results — pass the date value from the last contact in the previous response to fetch the next page.
Working with custom fields
Custom fields let you store additional structured data on a contact. Each field has a numeric ID that you use as the key when setting values.Get your custom field IDs
Call Example response:
POST /v1/contact-fields to retrieve all custom fields defined in your account. The response includes each field’s numeric ID and its display name.Phone numbers must be in E.164 format without the leading plus sign. For example, use
15105553344 rather than +15105553344 or (510) 555-3344.