Managing contacts
A contact is the person on the other side of a conversation. The send endpoint creates one for you when you address a phone number it has never seen, so most integrations only read contacts. Create and update them directly when your own system is the source of truth for who your customers are.
All endpoints on this page take the same api_access_token header as the send endpoint.
Find a contact
Each item in payload is one condition on a contact attribute. query_operator joins it to the next
one and is omitted on the last item.
Create a contact
email, phone_number and identifier are each unique within the account. Reusing a value that
another contact already holds fails with 422. Set identifier to your own primary key so you can
filter the same person back out later without matching on a number they may change.
Creating a contact does not open a conversation. Send a message with contact_id to start one.
Update a contact
Only the fields you send are changed, with one exception: custom_attributes replaces the stored
object rather than merging into it. Send the full set every time.
Listing
Pages hold 15 contacts. The response omits contacts with no email, phone number or identifier, so the count here is smaller than the total in the dashboard.
Contacts cannot be deleted through this API. Delete them from the dashboard, where the action is restricted to administrators.