Overview
When you send a message with acallback_url, Oliver POSTs to that URL each time the message’s status changes. The current status is also always available from GET /messages/{id}.
When the webhook fires
Each status is sent once, in order:
held → sent → failed → delivered → read, with suppressed final (see Statuses). If statuses change faster than they can be delivered, you get the latest one, e.g. message.read without a separate message.delivered. Branch on status, and treat a status at or before one you already handled as a no-op.
message.failed isn’t always final: when RCS fails and the SMS fallback is delivered, message.delivered follows it.
Payload
The body is the message object plus these fields:Unique per message and status, and the same on every retry of that status. Use it to de-duplicate.
rcs or sms: how the client got the message. Can be null on message.sent with channel: "auto", before the carrier reports it.Verifying Webhook Signatures
Signatures work the same way as the AI outbound outcome webhook and use the same practice secret. Webhooks are unsigned unless a secret is set up for the practice; contact engineering@getoliver.com to get one. Once it is, each request carriesX-Webhook-Signature: the HMAC-SHA256 hex digest of the raw request body. Verify it with a constant-time comparison before processing the payload.
Delivery and Retries
- Webhooks are an HTTP POST with a
Content-Type: application/jsonbody and aUser-AgentofOliver-Messages/1.0. - Your
callback_urlmust behttps://. Oliver verifies the TLS certificate and allows 10 seconds for a response. - Respond with a
2xxstatus code to acknowledge receipt. - If your endpoint doesn’t respond successfully, Oliver makes up to 3 attempts in total (waiting 2s, then 4s). After that the status isn’t retried on its own, but the next status change sends the latest status. Use
GET /messages/{id}to catch up.

