/v1) from one web application; background jobs carry out dispatch and campaigns, and the delivery reports and replies of the mobile networks and the mail service arrive at Arowana’s own webhook endpoints. How the pieces are deployed can change without notice — the API contract does not.
Layers
Two authentication modes
- Developer API:
Authorization: Bearer <api_key>— programmatic, workspace-scoped. - Dashboard: interactive user sessions — not interchangeable with API keys.
STOP revokes marketing consent for SMS and RCS on the contact in the workspace whose agent or number received it. If one brand sends from several workspaces or agents, carry an opt-out over to the others yourself (for example with bulk consent) — the networks expect a brand’s opt-out to cover all of its agents, and the same content type should not reach a person from several agents of one brand.
Keeping them separate means your automation credentials never have UI session scope, and vice versa.
Message pipeline
Every send — from a directPOST /v1/messages call or from a campaign flow node — goes through the same steps regardless of channel:
1
Authenticate
The API key is resolved to a workspace, rate limit bucket, and access scope.
2
Channel pre-send checks
Requirements vary by channel:
- Email — the sending domain and sender identity must be verified.
- RCS — the agent must be
APPROVEDby Arowana and launched by at least one German mobile network; its use case must allow thetraffic_type(API sends), and consent is decided by the traffic type. Whether the phone can receive RCS is asked of the network at dispatch time for agents withcapability_checkin theirfeatures(the answer is kept on the contact for a few hours); for other agents a phone without RCS is only found out afterwards, from a missing or negative delivery report. See Capabilities and RCS → SMS fallback. - SMS — closed beta; sending isn’t open yet, neither through the API nor from campaigns:
POST /v1/messageswith an SMS channel answers503 not_available.
3
Classify and check session
The platform works out what the message is charged for — an email, the parts of an SMS, an RCS message, or an RCS session — and prices those units at this month’s price on the channel. For RCS on a conversational agent, a message sent while a 24-hour session with the contact is open costs nothing and needs no balance hold; outside a session the hold covers the session price — the message price plus the difference — in case the contact replies.
4
Hold balance
The price is reserved from the organisation’s free credit — all workspaces of an organisation spend from one account. If free credit does not cover it, the API returns 402 immediately; if the workspace’s monthly budget does not, 403
budget_reached.5
Enqueue and respond
The dispatch task is queued for background processing. The API responds immediately with
message_id, status: queued, and a billing snapshot — no waiting for the provider.6
Dispatch (worker)
A background job hands the message to the mobile networks or the mail service, records a usage event, and fires your developer webhooks. Delivery reports, read receipts and replies arrive afterwards — expect seconds to minutes, not a fixed latency. One RCS message usually causes two or three webhook events (
message.queued, then message.delivered or message.failed, and possibly message.clicked or message.received): put a queue behind your receiver and answer 200 before you process — see Retries.7
Resolve reservation
The hold becomes the charge in the moment the provider accepts the message — not when a delivery report arrives. For RCS on a conversational agent the reply decides the final price: the session price instead of the message price when the contact replies within 24 hours, otherwise the held difference is released by a periodic task.
A message that is not sent — refused by the provider, revoked, or stopped before it left — is never charged: its hold is released. A message that was sent and is reported as not delivered is another matter: an SMS stays charged (the carrier bills a submitted SMS whether or not the handset gets it), while an RCS message that was not delivered and did not go out as its SMS text instead is given back. The webhook
message.failed says which it is in charged.Storage layers
Related
- Authentication — API key security and practices
- Errors and billing — what the
billingobject contains - Email capabilities — sender domains and deliverability
- RCS agents — agent review, launch and
features - How launch works in Germany — the networks’ joint review