Overview
WhatsRB Cloud sends HTTP POST requests to your configured endpoint when events occur. Register an endpoint via the API or the dashboard.Supported events
Payload format
data object content varies by event type β see below for each event.
message.received payload
Fired when an inbound message is received on any channel.
Common fields
Supported message types
Interactive metadata
When a user taps a button or selects a list item from a template, the message type isinteractive. The metadata object contains:
Example β button reply:
Handling interactive replies
Route bymetadata.interactive_type and use the option id (not title) for reliable matching:
Message edits
When a user edits a message, WhatsRB updates the original messageβscontent in place. No message.received event is fired β the edit is silent.
Unsupported messages
Messages with typeunsupported (e.g. polls) are silently ignored and do not trigger a webhook.
agent_run.completed payload
Fired when an AI agent completes processing an inbound message.
Signature verification
Every request includes two headers:X-Webhook-Signatureβ HMAC-SHA256 signature withsha256=prefixX-Webhook-Eventβ the event name

