Skip to main content
When POST /v1/messages responds 202, the message is accepted: Routa stored it, but it still has to reach WhatsApp and the customer’s device. There are three ways to follow the rest of the way.

1. By webhook

Subscribe to message events. The message.* wildcard covers all of them.
Each message transition produces an event whose data is the message in its current state: Update your database using the message data.id and data.status. Because deliveries can arrive out of order, never move the status backwards:
See the full setup in Webhooks.

2. Querying the message

The sent_at, delivered_at, read_at and failed_at fields show when each step happened, or null if it has not happened yet.
Avoid polling in a loop to find out whether a message was delivered. Use webhooks. Queries count against your read limit. See Rate limits.

3. Reconciling with the event log

If your server was unavailable, list the events you missed, starting from the last one you processed:
See Reconcile events.

What failed means

failed is terminal. It happens when the provider rejects the message for good or when the send attempts run out. Routa retries temporary failures automatically, and they do not show up as a status. The message failure_code field carries the reason (see Failure reasons), and the message timeline in the dashboard shows the detail.
If a message stays accepted for a long time, there is usually a provider outage or the channel has a queue above its capacity. The message is not lost: it is sent as soon as the path recovers.