Update message status
Updates the delivery status of a single message. Available only for messages in
API channel inboxes, where your own system is responsible for delivering messages
and reporting what happened. Use this to push sent, delivered, and read
receipts into Chatwoot, for example, to mark an agent’s message as read when the
end user views it in your client, so the agent sees the read indicator on the
message.
A message already marked read cannot be moved back to delivered. When
reporting a failure, include external_error with the reason, which is shown to
the agent along with the failed indicator.
Authorizations
Authenticate with Authorization: Bearer <token> using a user API token from Profile Settings. Available in Chatwoot v4.19.0 and later.
Path Parameters
The numeric ID of the account
The numeric ID of the conversation
The numeric ID of the message
Body
Response
Success
The ID of the message
The text content of the message
The ID of the account
The ID of the inbox
The ID of the conversation
The type of the message
0, 1, 2, 3 The time at which message was created
The time at which message was updated
The flags which shows whether the message is private or not
The status of the message
sent, delivered, read, failed, null The source ID of the message
The type of the template message
text, input_text, input_textarea, input_email, input_select, cards, form, article, incoming_email, input_csat, integrations, sticker, voice_call, null The content attributes for each content_type
The type of the sender
Contact, User, AgentBot, Captain::Assistant, null The ID of the sender
The external source IDs of the message
The additional attributes of the message
The processed message content
The sentiment of the message
The conversation object
The file object attached to the image
User/Agent/AgentBot object

