Skip to main content

Update Message Status

POST 

/accounts/:account_id/conversations/:conversation_id/messages/:message_id/status

Sets the delivery status of a message.

Channel integrations (such as the WhatsApp API server) use it to report delivery and read receipts. The status can only move forward: sent → delivered → read → failed → deleted. Each status reached is recorded in status_history.

SettingValue
MethodPOST
Path/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages/{message_id}/status
AuthorizationUser token.

Permissions:

Path parameters

NameTypeRequiredDescription
account_idintegerYesAccount ID.
conversation_idintegerYesConversation display ID.
message_idintegerYesMessage ID.

Body parameters (JSON)

NameTypeRequiredDescription
statusstringYesdelivered, read, failed or deleted.

Example request

curl -X POST 'https://online.99digital.co.il/api/v1/accounts/12/conversations/1501/messages/40112/status' \
-H 'api_access_token: <YOUR_API_ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{ "status": "read" }'

Example response (200 OK): the full message object. The relevant fields:

{
"id": 40112,
"status": "read",
"status_history": {
"sent": 1794470412,
"delivered": 1794470447,
"read": 1794470447
}
}

Error responses: 422 {"error": "New status must be greater than current status"} (for example delivered after read).

Request​

Responses​

The message, with its new status.