Message received
messageReceivedConfigure endpoints (HTTPS only) in the dashboard under Developers → Webhooks.
1. Verify SMS21-Signature against the raw body before parsing JSON. 2. Reject timestamps older than 5 minutes (replay protection). 3. Ignore event IDs you have already processed: deliveries are at-least-once and may arrive out of order.
Event: message.received. Unlike message.* status events, this payload carries the sender's number and the text — that is the message being delivered to you.
Payload15
idstringrequiredEvent ID; deduplicate on it.
eventstringrequiredmessage.receivedtimestampstring (date-time)requiredinboundIdstringrequiredInbound message ID.
fromstringrequiredtostringrequiredtextstringrequiredkeywordstring | nullrequiredactionstringrequirednoneopt_outopt_inchannelstringrequiredsmswhatsappwhatsapp_connectdeviceIdstring | nullrequiredThe linked WhatsApp device that received it (whatsapp_connect).
senderNamestring | nullrequiredgroupIdstring | nullrequiredWhatsApp Connect: the group it was posted in (
fromis the member who wrote it); null for a direct message.mediaobject | nullrequired4 nested fields
typestringrequiredimagevideoaudiodocumentstickermimeTypestring | nullrequiredfilenamestring | nullrequiredurlstring | null (uri)requiredGET it with an API key of the project (scope reports:read): /v1/inbound/{inboundId}/media.
samplebooleanOnly on example events sent from the dashboard; they reference nothing.
true
{
"id": "evt_01k55q8y4m3d9v7x2c6b0n1r8t",
"event": "message.received",
"timestamp": "2026-09-15T10:30:00.000Z",
"inboundId": "inb_01k55q8y4m3d9v7x2c6b0n1r8t",
"from": "919876543210",
"to": "919812345678",
"text": "STOP",
"keyword": "STOP",
"action": "opt_out",
"channel": "sms",
"deviceId": null,
"senderName": null,
"groupId": null,
"media": null
}