The Contacts API manages the audience your workspace sends messages to. Each contact is a person identified by email address, phone number, or both.

Endpoints

The contact object

Contacts are returned with their full consent history embedded in consent_records.

Fields

string
Platform-assigned contact identifier.
string
Your own identifier for this contact. Unique within the workspace. Useful for syncing with a CRM.
string
Email address. Used for email channel sends and deduplication.
string
Phone number in international format (e.g. +4917612345678). Used for SMS and RCS sends.
string
First name. Available as a merge tag in templates.
string
Last name. Available as a merge tag in templates.
string
Lifecycle status of the contact.
string
How the contact entered the system: API, IMPORT, LANDING_PAGE, or MANUAL.
array
Free-form string labels. Used for groups and filtering in campaigns. In POST /v1/contacts (upsert) tags are added to the existing ones; in PATCH tags replaces the list. add_tags / remove_tags change it in both.
object
Arbitrary key-value pairs for extra contact attributes. Values are merged on update.Three keys are standard fields every workspace has: city, postcode and country (e.g. "Berlin", "10115", "DE"). The app shows them as City, Postcode and Country — in sign-up forms, imports, groups and the contact profile — and messages fill them in with {{city}}, {{postcode}} and {{country}}. Send them like any other key: "custom_fields": { "city": "Berlin", "country": "DE" }.country is stored as an ISO 3166-1 alpha-2 code. Send the code ("DE", any case) or a country name we recognise — English or German, and common variants ("Germany", "Deutschland", "USA", "UK", "Holland") — and the contact keeps the code: "Deutschland" comes back as "DE". A value that isn’t a country we recognise is accepted and stored as sent, as before. Groups and filters treat a code and the names of its country as the same country, also for values stored before the code was used. In messages, {{country}} is the country’s name, not the code.
All consent records for this contact. Each record covers one channel_type + message_type combination. See Consent API for full field reference.

One person, one contact

Within a workspace, external_id, email (stored lower-case) and phone number (stored as E.164) each belong to at most one contact — the database enforces it. POST /v1/contacts therefore updates instead of duplicating: by external_id when you send one, otherwise by email, otherwise by phone. An identifier that belongs to another contact answers 409 conflict; contacts are never merged silently. See Create or upsert contact.

CRM sync in short

  1. Send every person with your system’s ID as external_id — one by one with POST /v1/contacts, or 1,000 at a time with POST /v1/contacts/bulk.
  2. Send the consent your system holds with POST /v1/contacts/consent/bulk (or per contact).
  3. Keep both in sync with webhooks: contact.updated, consent.updated, email.unsubscribed.
Writing a message to an address that is not a contact yet (POST /v1/messages) creates the contact (source: API, no consent) and fires contact.created. The same happens when a number that is no contact yet writes to an RCS agent with capability_check in features.

Suppression

The contact’s status stops sends: BLOCKED stops every message, UNSUBSCRIBED stops subscription and marketing messages (a transactional MESSAGE still goes out), and BOUNCED stops email. A one-time code still reaches a blocked, unsubscribed or bounced person. A refused API send answers 422 recipient_suppressed.

Create or upsert

Import contacts

Consent