Update a conversation
Changes the priority or the SLA policy of the conversation.
Authentication
api_access_tokenstring
An API key that an administrator creates in Settings > Developer. The personal access token of a user does not work. A key reaches every inbox, conversation, and contact in the account that created it, and nothing in other accounts.
Path parameters
account_id
The id of your account. It is the number after /accounts/ in the dashboard URL.
conversation_id
The conversation number in the dashboard URL (display_id). It is not the internal id of the conversation.
Request
This endpoint expects an object.
priority
The new priority. Send null to remove the priority.
Allowed values:
sla_policy_id
The id of an SLA policy of the account.
Response
The conversation.
id
The conversation number in the dashboard URL (display_id). It is not the internal id.
account_id
inbox_id
uuid
status
Allowed values:
can_reply
true when the service window is open and the API accepts plain content. When false, send a template.
priority
Allowed values:
labels
custom_attributes
additional_attributes
snoozed_until
The time when a snoozed conversation opens again.
muted
unread_count
created_at
Unix timestamp, in seconds.
last_activity_at
Unix timestamp, in seconds.
waiting_since
Unix timestamp, in seconds. 0 when the conversation does not wait for a reply.
messages
A list with the last message of the conversation.
meta
The contact, the channel, the agent, and the team of the conversation.
Errors
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error