Skip to main content
PUT
Updates properties of a conversation thread such as its status or assignee. Use this to close threads, reopen them, or reassign them between agents and users.

Headers

string
requerido
Your API key for authentication.

Path Parameters

string
requerido
The UUID of the thread to update.

Body

string
New status for the thread. Common values: open, closed.
string
UUID of the user or agent to assign the thread to. Pass null to unassign.
string
Type of assignee: user or agent. Required when setting assignee.

Response

Returns the updated thread object.

Error Codes

  • 400 Bad Request — Invalid fields
  • 401 Unauthorized — Invalid or missing API key
  • 404 Not Found — Thread not found
  • 500 Internal Server Error — Server-side error

Code Examples