Privacy and storage
- A contact belongs to one workspace. An API key reads and writes only the contacts of its own workspace.
- Within a workspace a contact is matched by its email address or its phone number (stored in E.164 format) — an import or a sync does not create the same person twice.
- Webhook events about a contact are sent only to the endpoints of the workspace that owns it.
Contact record shape
Consent model
Consent is per channel, per message type — not a single boolean flag. One exception: SMS and RCS are one consent. Records are written per channel, but when sending, the newest SMS or RCS record decides for both — a grant on either allows marketing on both, and a revocation is always written for both. Word phone opt-ins for SMS and RCS together. Each consent record inconsent_records[] carries:
Enforcement:
NEWSLETTER sends to contacts without a GRANTED consent record for the relevant channel_type + message_type combination return 422. MESSAGE sends (order confirmations, receipts) need no opt-in — only a newest record that is REVOKED blocks them. Opt-out events (unsubscribes, complaints, STOP) set the record to REVOKED immediately and block future sends for that combination.
RCS through the API is decided by the message’s traffic_type, not its message_type: PROMOTION needs a GRANTED SMS / RCS NEWSLETTER record; after an opt-out only AUTHENTICATION goes out, ACKNOWLEDGEMENT as the one answer to the person’s keyword (and SERVICEREQUEST inside a conversation the person started since); CONVERSATION answers someone who wrote to the agent in the last 24 hours and needs no opt-in. A STOP (or “Unsubscribe” in the messaging app) from a number that isn’t a contact yet is kept: the number becomes a contact with status UNSUBSCRIBED and its SMS and RCS consent revoked, so a later import, sync or send finds the opt-out. See Send an RCS message.
Consent and suppression via API
Consent is managed through the dedicated Consent API — not viaPATCH /v1/contacts/{id}. Use POST /v1/contacts/{id}/consent to grant consent and optionally trigger a DOI confirmation:
DELETE /v1/contacts/{id}/consent/{record_id}. The record is preserved for audit — status becomes REVOKED and revoked_at is stamped.
Suppression reasons — HARD_BOUNCE, COMPLAINT, MANUAL_UNSUBSCRIBE — are written automatically by the platform when the corresponding event occurs and update the contact’s status field.
Groups and campaigns
Groups are stored filter definitions (saved queries) over contacts and their attributes. Campaigns use groups as audiences and advance executions per contact through each flow step. Group size and estimated cost are shown before launch.A group in the app is what the data model — and older texts — call a segment. Wherever an API field or route uses the word segment, it means the same thing. The API has no routes to create or list groups today.
Imports and integrations
Contacts can be created via:Related
Landing pages
Lead capture, DOI, and consent into contacts.
Consent sync path
Import, capture, and keep consent current across channels.
Campaigns
Audiences, groups, and per-contact execution.
Events & analytics
Engagement events tied to contacts.