status in GET /v1/messages/{id}. Events are applied as the networks report them — usually within seconds, but reports can arrive late, more than once, or in a different order than they happened.
Message lifecycle
Statuses are written in upper case in API responses. The webhook payloads carry their own lower-case
status field (queued, delivered, failed). EXPIRED is accepted as a filter value but not set on RCS messages today.
What the networks report depends on the agent — its features list says it:
delivery_reports— every agent:DELIVEREDand “not delivered”.read_receipts— only agents that have it getREAD. People can switch read receipts off on their phone, soREADmay never come even then.revoke— only agents that have it can take a message back after it was handed over (see Revoke message).
SENT with no report at all — for example while the phone is offline. When the person replies to the agent or taps a chip, the messages they got before (the newest 20 still SENT from the last 30 days) are recorded as DELIVERED at the time of the reply (and message.delivered fires for each), so nobody gets the SMS text of a message they answered.
Out of order. A click can come before the delivery report: the message is CLICKED, and the delivery report that follows still fills delivered_at and fires message.delivered (the status stays CLICKED). A delivery report that arrives after the message was already reported as not delivered (BOUNCED, message.failed) is not applied today: the message stays BOUNCED.
Track with webhooks (recommended)
Register a webhook endpoint (dashboard: Settings → API & webhooks, orPOST /v1/webhooks) and Arowana will POST events to your URL.
2xx within 5 seconds and do the work afterwards; deduplicate by the envelope id — see Retries.
Delivery events
- message.delivered
- message.failed
Fired once per message when it is confirmed delivered: the RCS receipt for a message delivered as RCS, a reply or tap that proves it arrived, or the SMS receipt for a message that went out as its SMS text fallback. An RCS receipt that arrives after the fallback text has gone out is recorded on the message, not sent as a second event.
message.read, message.expired and typing events: read status and read_at from the message instead (see below).
Clicks
message.clicked fires the first time someone clicks a tracked link in the message text. Links in an RCS text are rewritten to tracked redirect links on Arowana’s link domain before sending. Link buttons on cards and carousels (open_url actions) are not tracked: they open your URL directly and raise no event.
Verifying webhook signatures
Every request includes anX-Arowana-Signature header. Always verify it before processing. See Verify requests for the HMAC-SHA256 implementation and Event types for the full event catalogue.
Poll for status (alternative)
If you cannot accept webhooks, poll — but in pages, not per message: list the messages that are still on their way, with filters, on a schedule.GET /v1/messages/{id}:
id here, not message_id, and status is in upper case.
A polling loop for one message, with backoff and a time limit:
QUEUED and SENT: DELIVERED, READ, CLICKED, UNSUBSCRIBED (it arrived), BOUNCED (sent, not delivered), FAILED, REVOKED (stopped). A message can stay SENT when no delivery report ever arrives, so give the loop a time limit.
Billing finalisation
Arowana places a balance hold when it accepts the message:SENT→ the hold becomes the chargeFAILED/REVOKED→ the hold is released, nothing is charged (a message revoked after hand-over gets its charge back once the network confirmed the revoke)BOUNCED→ an RCS message that was not delivered (and not sent as its SMS text instead) is given back, unless the contact had already replied to it;message.failedsays whether it ischarged
Webhooks
Configure endpoints, view all events, and signature spec.
Receive replies
Handle inbound user replies and open conversation sessions.