Events
message.status
# message.status
A message of the workspace changed status: it was handed to the channel (`sent`), delivered (`delivered`), read (`read`) or not sent (`failed`, the reason in `error.code`). Not every channel reports delivery and reading, and `rules.receipts` in `GET /v1/channels` says which do. `data` holds the whole message, as `GET /v1/messages/{id}` returns it. It comes for every message of the workspace, not only those sent through the API: `sent_by` tells who sent it.
`data` is the [message object](https://airbox.kz/en/docs/api/messages#the-message-object).
```json
{
"type": "message.status",
"timestamp": "2026-10-09T09:30:00+00:00",
"workspace": {
"id": "0199c5e2-0d4b-7e21-a3f6-8c2b1e7d9a40",
"name": "Smile Clinic"
},
"data": {
"id": "0199c5e2-7b3a-7c51-9f0e-3a1d2b4c5e6f",
"to": "+77011234567",
"contact_id": "0199c5e2-1f0a-7a42-8d1e-5b7c9a2e4f10",
"channel": "whatsapp",
"type": "text",
"text": {
"body": "Hello! Your order #1042 is ready, and you can pick it up today until 8 pm."
},
"status": "delivered",
"error": null,
"sent_by": "api",
"created_at": "2026-10-09T09:30:00+00:00",
"sent_at": "2026-10-09T09:30:00+00:00",
"delivered_at": "2026-10-09T09:30:02+00:00",
"read_at": null
}
}
```
Updated 4 December 2026
A message of the workspace changed status: it was handed to the channel (sent), delivered (delivered), read (read) or not sent (failed, the reason in error.code). Not every channel reports delivery and reading, and rules.receipts in GET /v1/channels says which do. data holds the whole message, as GET /v1/messages/{id} returns it. It comes for every message of the workspace, not only those sent through the API: sent_by tells who sent it.
data is the message object.
JSON
{
"type": "message.status",
"timestamp": "2026-10-09T09:30:00+00:00",
"workspace": {
"id": "0199c5e2-0d4b-7e21-a3f6-8c2b1e7d9a40",
"name": "Smile Clinic"
},
"data": {
"id": "0199c5e2-7b3a-7c51-9f0e-3a1d2b4c5e6f",
"to": "+77011234567",
"contact_id": "0199c5e2-1f0a-7a42-8d1e-5b7c9a2e4f10",
"channel": "whatsapp",
"type": "text",
"text": {
"body": "Hello! Your order #1042 is ready, and you can pick it up today until 8 pm."
},
"status": "delivered",
"error": null,
"sent_by": "api",
"created_at": "2026-10-09T09:30:00+00:00",
"sent_at": "2026-10-09T09:30:00+00:00",
"delivered_at": "2026-10-09T09:30:02+00:00",
"read_at": null
}
}