Update chat

Update the assigned attendant (user_id) and/or the status of a chat. Assigning an attendant forces the chat status to OPEN, unless an explicit status is sent in the same request (the explicit status wins). Sending user_id: null unassigns the attendant without changing the status. Setting status to CLOSED records closed_at. At least one of user_id or status is required. Only chats belonging to the authenticated owner can be updated.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

UUID

Body Params
uuid | null

UUID of the user (attendant) to assign. Must be a user of the account. Send null to unassign.

string
enum

New status of the chat. CLOSED records closed_at; reopening does not clear it.

Allowed:
Headers
string
required

API Token

Responses

401

Authentication error - invalid or missing api-token

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json