Change a conversation status
Sets the conversation to open, pending, resolved or closed. Requires the conversations.write scope. closingNote is only allowed with resolved or closed. Returns the updated conversation. Errors: 404 CONVERSATION_NOT_FOUND, 409 CONVERSATION_CHANNEL_FROZEN when the channel is frozen, 422 DEVELOPER_INVALID_INPUT for an invalid body or a closingNote on another status.
Responses
| Status | Meaning and codes |
|---|---|
| 200 | The updated conversation. |
| 401 | undefined |
| 403 | undefined |
| 404 | undefined |
| 422 | undefined |
| 429 | undefined |
Success and handled error responses send Cache-Control: no-store and X-Correlation-ID (the resolved/generated UUID). Errors use application/problem+json and the reusable ProblemDetails schema below. Retry-After: 1 is sent only for RATE_LIMITED. Request examples read your key from a server environment variable; replace all fictional values.
Schemas and examples
ApiKeyAuthorizationBearer <token>Server-side API key. publicId is 12 lowercase base32 characters (a-z, 2-7); secret is 43 base64url characters from 32 random bytes. Use Authorization: Bearer <complete key>. The API key determines the workspace; requests cannot select another workspace. All public routes share 20 requests per second per key. See API-key authentication.
conversationId*stringConversation ID whose status changes.
uuidX-Correlation-ID?stringOptional tracing ID. A UUID-shaped value is echoed in the response. Missing or invalid values are replaced with a generated UUID, not rejected.
application/json- body
status*string"open""pending""resolved""closed"closingNote?stringOnly allowed when status is resolved or closed.
1 <= length <= 1000The updated conversation.
application/json- response
Conversation snapshot returned by get, assign and status change.
id*stringuuidstatus*string"open""pending""resolved""closed"channelType*|Channel type of the conversation's connection, or null when the connection is not found.
channelConnectionId*stringuuidcontactId*stringuuidassigneeMembershipId*|uuidteamId*|uuidlastInboundAt*|date-timereplyWindow*