Update conversation settings
PUT/v1/desks/:desk_id/conversations/:session_id
Permissions - desks.read and conversations.write. API keys - manage.
Setting status to closed is rejected with a 409 conflict while the conversation has pending scheduled messages (cancel them first). Setting status to trash or spam cancels any pending scheduled messages.
Request
Responses
- 200
- 400
- 401
- 404
- 409
- 500
Updated conversation with modified settings
BadRequest
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789Unauthorized
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789The specified resource was not found
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789The conversation has pending scheduled messages and cannot be closed
Internal Server Error
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789