Change a conversation's state
update_conversationChange a conversation's state
Changes what you send: the status, read for the team, urgent, and the conversation's AI
switch. urgent: true is the dashboard's "Mark as Urgent" and urgent: false its "Mark as
Resolved": both clear needs_attention, and resolving also sets an unhappy sentiment (1
or 2) to neutral (3). The AI reads urgent and needs_attention again with each of its
replies, so a mark lasts until the AI next answers in the conversation. is_read never
sends the customer a read receipt. ai_enabled: false stops the AI in
this conversation until it is switched on again; a pause that a teammate's reply started
is ended with resumeConversationAi instead. A change to what the conversation already
has writes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| urgent | No | `true` marks it urgent, `false` resolves it; both clear `needs_attention`, and resolving sets an unhappy `sentiment` (1 or 2) to neutral (3). | |
| is_read | No | Read or unread for the team. Never sends the customer a read receipt. | |
| agent_id | Yes | The agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`. | |
| ai_enabled | No | The conversation's AI switch. | |
| conversation_id | Yes | One of the agent's conversations. Another agent's conversation, or a deleted one, is `404 not_found`. |