Webhook events · orders
order.message_received/1
WhatsApp order received. A customer sent an order (a cart) from your WhatsApp catalog. Carries the conversation, the customer, the product lines (first 50), the line count, total, currency and the customer's note.
Payload
We POST this JSON to your endpoint. Answer any 2xx within 30 seconds. The same id arrives again on a retry — skip ones you have handled.
| Field | Type | What it is |
|---|---|---|
| idrequired | string | Event id. The same on every retry: use it to skip duplicates.pattern ^evt_[0-9A-HJKMNP-TV-Z]{26}$ |
| typerequired | string | Event type.always order.message_received |
| versionrequired | string | Payload version.always 1 |
| api_versionrequired | string | The endpoint's API version. |
| occurred_atrequired | string | When it happened.date-time |
| company_idrequired | integer | Your workspace id. |
| datarequired | object | |
| message_idrequired | integer | Message id of the order. |
| wamid | string or null | WhatsApp message id. |
| conversationrequired | object or null | The conversation. |
| idrequired | integer | Conversation id. |
| company_idrequired | integer | Workspace id. |
| contact | object or null | The contact. |
| idrequired | integer | Id. |
| namerequired | string or null | Name. |
| channel | object or null | The channel. |
| idrequired | integer | Id. |
| namerequired | string or null | Name. |
| assigned_staff | object or null | Assigned staff member. |
| idrequired | integer | Id. |
| namerequired | string or null | Name. |
| assigned_team | object or null | Assigned team. |
| idrequired | integer | Id. |
| namerequired | string or null | Name. |
| closed_reason | object or null | The close reason; null while open. |
| idrequired | integer | Id. |
| namerequired | string or null | Name. |
| assigned_at | string or null | ISO 8601. |
| created_at | string or null | ISO 8601. |
| contact | object or null | The customer. |
| idrequired | integer | Contact id. |
| name | string or null | Name. |
| phone | string or null | Phone number in E.164. |
| catalog_id | string or null | WhatsApp catalog id. |
| itemsrequired | array of object | The product lines (the first 50).0–50 items |
| product_retailer_idrequired | string | Your product id (retailer id) in the catalog. |
| quantityrequired | integer | Quantity. |
| item_price | number or null | Unit price. |
| currency | string or null | Currency, ISO 4217. |
| items_countrequired | integer | How many product lines the order has. |
| items_truncated | boolean | True when there were more than 50 lines. |
| totalrequired | number | Order total. |
| currency | string or null | Currency, ISO 4217. |
| text | string or null | The customer's note. |
| received_at | string or null | ISO 8601. |
Example
{
"id": "evt_01J8Z7BZQ4F6G8J2K5N7Q9S1VC",
"type": "order.message_received",
"version": "1",
"api_version": "2026-10-01",
"occurred_at": "2026-09-24T09:20:00Z",
"company_id": 42,
"data": {
"text": "Please gift wrap",
"items": [
{
"currency": "AED",
"quantity": 2,
"item_price": 49.75,
"product_retailer_id": "TEA-001"
},
{
"currency": "AED",
"quantity": 1,
"item_price": 50,
"product_retailer_id": "CUP-002"
}
],
"total": 149.5,
"wamid": "wamid.HBgMOTcxNTAxMjM0NTY3FQIAEhgUM0FCQ0RFRg",
"contact": {
"id": 12345,
"name": "Jane Doe",
"phone": "+971501234567"
},
"currency": "AED",
"catalog_id": "1234567890123456",
"message_id": 13264,
"items_count": 2,
"received_at": "2026-09-25T19:44:07+00:00",
"conversation": {
"id": 98765,
"channel": {
"id": 7,
"name": "WhatsApp"
},
"contact": {
"id": 12345,
"name": "Jane Doe"
},
"company_id": 42,
"created_at": "2026-05-01T10:15:00+00:00",
"assigned_at": "2026-05-01T10:20:00+00:00",
"assigned_team": null,
"closed_reason": null,
"assigned_staff": {
"id": 311,
"name": "Riya Support"
}
},
"items_truncated": false
}
}Headers
Webhook-Signature:t=…,v1=…— how to check itWebhook-Id(alsoWebhook-Event-Id): the event id, the same on every retry — skip ones you have handledWebhook-Delivery-Id: this delivery attempt, new on every try