Templates and campaigns are created in the dashboard, not through the API. The API lets you send messages with inline content, trigger and pause campaigns, and retrieve message history — but the flow builder and template editor are dashboard-only tools. See Identifiers to find campaign IDs for use in API calls.
How messaging works
Every message follows the same lifecycle regardless of channel:1
You send — POST /v1/messages
Your server calls
POST /v1/messages with your content and recipient. The platform validates the request, the channel (for RCS: the agent), consent and your balance, and places a billing hold. You receive a message_id immediately.2
Platform queues and dispatches
The message is dispatched to the channel provider (the carrier network for RCS/SMS, the email infrastructure for email). This is asynchronous — the API returns
queued straight away, not delivered.3
You receive delivery events — via webhook
As the message moves through its lifecycle, events fire to your registered webhook endpoint:
email.delivered, email.bounced, message.delivered, message.failed, etc. — see Event types for which event each channel raises. This is how you know the message was delivered — not from the original send response.4
For RCS: user replies come in as webhook events too
When the person replies to your RCS message, the reply arrives at your webhook as a
message.received event with channel: "rcs". For 24 hours after their latest message you can answer with message_type: CONVERSATION. On a conversational agent the reply also opens a 24-hour billing session — see Receive replies.Quiet hours apply to campaigns, not to this route: by default from 21:00 to 08:00 in the workspace’s time zone, SMS and RCS marketing steps of campaigns wait until the window ends (switchable in Settings → General). A message sent with
POST /v1/messages is not held — but once SMS sending is open (closed beta), a marketing RCS message that falls back to its SMS text waits for the end of the window.Email is one-directional from the API perspective — you send, and you receive delivery status events (delivered, bounced, opened, clicked). There is no inbound email reply flow through this API.
Send a message
Required headers
Bearer <api_key> — see Authentication.One key per logical send, reused on every retry of it — for example derived from your order id (
order-1234-shipped), or generated once and stored with the job before the first attempt. A new key per attempt sends again. See Idempotency.Send response
The API responds immediately.status: "queued" means the message was accepted — not that it was delivered. Delivery confirmation comes via webhook.
Save this. Use it to track status via
GET /v1/messages/{id} and to correlate incoming webhook events.queued for a new message, in lower case. Later states arrive via webhook or GET /v1/messages/{id} — there the identifier is called id and the status is in upper case (SENT, DELIVERED, FAILED, …).A label of the content shape:
basic_message, single_message, conversation, or mau. It does not select a price.Credit reserved for this message: its
billing_units at this month’s price on the channel. Charged when the message is sent; released when it fails or is revoked.What the message counts and is charged for: the parts of an SMS;
1 for an email or an RCS message (also the one a contact replied to, which is charged the session price instead of its own); 0 for a message sent inside an open session.The organisation’s credit after this reservation:
free (total − reserved), reserved, total. Only for a key with billing:read whose creator is an owner or admin of the organisation — for every other key the field is left out. Read hold_amount / message_price for what the message itself costs.Where the organisation stands on this channel’s volume tiers: this month’s tier and price, and what this month’s volume means for next month.
Send errors
Track delivery
Option A — Webhooks (recommended)
Register a webhook endpoint and subscribe to delivery events. The platform pushes updates to your URL as they happen. Every event uses the same envelope:RCS and SMS delivery events use
message.* names. Email delivery events use email.* names — email.delivered, email.bounced, email.opened, email.clicked. Subscription names matter: an endpoint subscribed to message.delivered will not receive email.delivered. See the Event types catalogue for the full list.
Key Email delivery events:
Option B — Poll GET /v1/messages/{id}
Poll the status endpoint to get the current state and full event timeline. Useful for debugging or one-off checks, but webhooks are more efficient for production.
id here (it is message_id in the send response), and status is in upper case. A message is still on its way while status is QUEUED or SENT; stop polling at any other value:
A message can stay
SENT when no delivery report ever arrives, so give a polling loop a time limit as well.
See Get message for full field documentation.
Receive user replies (RCS only)
When an RCS user replies to your message, the platform fires a webhook event to your endpoint. You do not poll for replies — they are pushed to you.message_type: CONVERSATION for 24 hours after the person’s latest message (keywords like STOP don’t count). Billing is separate: on a conversational agent the reply opens a session, and what you send that contact in the 24 hours after the reply is not charged — the session price replaced the price of the message they replied to. See Receive replies and RCS conversation.
Choose your send type
Action-based email
MESSAGE — triggered by a user action or system event. No opt-in needed; a recipient whose newest email consent record is REVOKED is refused with 422 missing_consent.Subscription email
NEWSLETTER — opted-in list sends. Consent enforced at send time.RCS
Text
Plain text, with or without suggestion chips.
Rich card
Image, title, description, action chips.
Carousel
2–10 cards in a horizontal scroll.
Conversation
Answer someone who wrote to your agent in the last 24 hours.
Newsletter
Billed per subscriber and month — not offered; send marketing as a MESSAGE with traffic type PROMOTION.
SMS
SMS is in closed beta: sending isn’t open yet. Phone numbers can be rented in the dashboard, but they can’t send SMS until it is — see SMS overview.
Revoke & status
Take back a queued message, or an RCS message before it is delivered.
Related
Webhooks
Register endpoints, verify signatures, and see the full event catalogue.
RCS platform
Agents, messaging, and delivery tracking.
Billing units
What is charged per channel, holds, and volume prices.
Conventions
Rate limits, idempotency, and error envelopes.