Send Support / Control Command
The operator control rail for a session. Send a plain message (delivered to the customer while a human has taken over), a control command, or both.
Recognized commands:
takeover— a human operator takes over the session; the agent stops auto-replying andmodebecomessupport.tell— inject operator guidance and fire an agent turn; the agent’sreplyis returned. Provide the text inmessage.whisper— append private operator guidance for the next agent turn; the customer never sees it.end— hand the session back to the agent (modereturns toai).close— close the session permanently.
A request with only message and no command is a plain operator message, valid while the session is in support mode (after takeover).
Authorizations
16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.
Path Parameters
The session UUID (from Create Session or Get Active Session).
"4718a326-417b-4dda-90d0-21fd65a11cb8"
Body
Control command to apply. Omit to send a plain operator message (requires the session to be in support mode).
takeover, tell, whisper, end, close "close"
Message text. Required for a plain operator message and for the tell command; optional context for takeover.
"A human agent is joining the conversation."
