Before the first send. The agent must be APPROVED by Arowana’s review and launched by at least one German network (launched: true on the agent). Until then a send is refused with 403 agent_not_approved or 409 agent_not_launched / 409 agent_not_registered — nothing is sent or charged. To try RCS before your own agent is live, use the RCS sandbox.
POST /v1/messages with agent_id, message_type: MESSAGE and a text body. An RCS message is charged per message — length and reply chips do not change the price. The content shape only sets the billing.message_type label in the response: The label does not select a price. See Billing (RCS).

Who may receive it

Whether a message may go to a phone number is decided by its traffic_type — what the message is — not by the message_type it is filed under: A BLOCKED contact gets nothing. SMS and RCS share one consent: a STOP sent by SMS also stops RCS. SERVICEREQUEST after an opt-out also needs the person’s MESSAGE consent not to be revoked, and an opt-out without a known time (status UNSUBSCRIBED without a revocation on record, an erasure) never opens a conversation. A refused send answers 422 missing_consent (reason: no_marketing_consent) or 422 recipient_suppressed (reason: opted_out, contact_blocked or no_keyword_to_answer); nothing is sent or charged. Record opt-ins with POST /v1/contacts/{id}/consent. Arowana answers STOP and HELP on RCS itself — see Receive replies. You don’t send the STOP confirmation yourself: an ACKNOWLEDGEMENT after Arowana’s answer is refused.

Request

Path params / headers

string
required
Bearer <api_key> with the messages:send permission — see Authentication.
string
One key per logical send — for example derived from your order id — and the same key on every retry of that send. A retry with the same key answers with the original message; it is never sent or charged twice. See Conventions.

Body — Plain text (no suggestions)

string
required
Phone number in international format, without spaces or a trunk zero (e.g. +4917612345678). A number that is not a contact of the workspace yet becomes one (source: API) once the message is allowed; a refused send creates nothing.
string
required
The agent’s id from Create an agent (ag_draft_… or ag_live_… — the prefix never changes and says nothing about the agent’s state). The agent must be APPROVED and launched on at least one network.
string
required
MESSAGE for a message you start. CONVERSATION answers someone who wrote to the agent in the last 24 hours — see RCS conversation. NEWSLETTER is refused today — see RCS newsletter.
string
required
Message body in UTF-8. Maximum 3,072 characters — for PROMOTION at most 2,962: Arowana adds the opt-out line (Abmelden: <link> oder antworte STOP / Opt out: <link> or reply STOP) at send time and keeps 110 characters free for it. Send either content.text or content.rich_card, never both (400).
string
required
What the message is. It decides who may receive it (see above) and must be allowed for the agent’s use_case (otherwise 400):Checked against the use case the agent was registered with (an agent created before Arowana asked for one isn’t refused for it). AUTHENTICATION and ACKNOWLEDGEMENT are plain text only — at most 500 characters, no rich_card, no suggestions (otherwise 400). AUTHENTICATION is never allowed on a MULTI_USE agent: login codes need an OTP agent. The networks audit traffic types per agent — declare what the message really is.
string
How long the network keeps trying to deliver, in seconds with an s: "3600s". At least "6s", at most "1296000s" (15 days); anything else is a 400.On agents with revoke in features, the network takes the message back itself when the ttl ends — the message then ends as not delivered and is not charged (an SMS fallback can follow). The network can also report that it could not take it back: then it may still arrive late. Without a ttl the message is valid for 24 hours; with an SMS fallback set up, at most the fallback window.On other agents a message is valid for 24 hours (or the fallback window) whatever ttl says.

Body — Text with reply chips

Under a text, only reply chips are allowed. Action chips (open a link, dial, …) go on a rich card; an action chip under a text is a 400. Any suggestions set the billing.message_type label to single_message; the price is unchanged.
array
Up to 11 reply chips: { "reply": { "text": "...", "postback_data": "..." } }.
  • text — the chip’s label, 1–25 characters.
  • postback_data — what comes back in message.received when the person taps the chip, exactly as you sent it. Any string of 1–2,048 characters: a plain value such as updates_yes_1234, or base64 you encoded yourself — Arowana neither decodes nor checks it. Refused: control characters, and values starting with arowana.action: (reserved). Use an opaque id you look up on your side — never personal data, codes or tokens: it is stored with the message.

Responses

Message accepted; delivery is asynchronous. Read it with GET /v1/messages/{id} (statuses QUEUED, SENT, DELIVERED, READ, …) or listen for message.* webhooks — see Track delivery.
string
Unique message id. Use it with GET /v1/messages/{id} (where it is the id), DELETE /v1/messages/{id}, and to match webhooks.
string
queued on accept. A repeated request with the same Idempotency-Key reports where that message is now. The status on GET /v1/messages/{id} is upper case (QUEUED, SENT, DELIVERED, …).
string
ISO 8601 UTC timestamp when the send was accepted.
object
Cost snapshot for this send. Amounts in this example are illustrative.