Skip to main content
Use these endpoints to build your own agent console, or to stop the AI when your system detects a sensitive case. All of them require Send messages, and the conversation must have an active session.

Take over and hand back

Both return the conversation; session.handover and session.handover_at tell you its state. Replying with POST /conversations/{id}/messages also takes the conversation over, unless you send "handover": false. Starting a conversation with "handover": true opens it directly in handover.

Assign

  1. GET /conversations/assignees lists the members of your company (USR-XXXXX).
  2. PUT /conversations/{id}/assignee with { "user_id": "USR-XXXXX" } assigns the current session; { "user_id": null } unassigns it.
Filter conversations by assignee with GET /conversations?assignee=USR-XXXXX (or none).

Keep your system in sync

Subscribe a webhook to conversation.* to know when someone takes over or hands back from the Inbox, and to message.* to follow the messages.