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. Themessage.* wildcard covers all of them.
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:
2. Querying the message
sent_at, delivered_at, read_at and failed_at fields show when each step happened, or null if it has not happened yet.
3. Reconciling with the event log
If your server was unavailable, list the events you missed, starting from the last one you processed: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.