Skip to main content
POST

Authorizations

API-Token
string
header
required

16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.

Path Parameters

id
string
required

The session UUID (from Create Session or Get Active Session).

Example:

"4718a326-417b-4dda-90d0-21fd65a11cb8"

Body

application/json
command
enum<string>

Control command to apply. Omit to send a plain operator message (requires the session to be in support mode).

Available options:
takeover,
tell,
whisper,
end,
close
Example:

"close"

message
string

Message text. Required for a plain operator message and for the tell command; optional context for takeover.

Example:

"A human agent is joining the conversation."

Response

Command accepted. The response data always includes state, session_id, and command; additional fields depend on the command (e.g. reply for tell, active_human for takeover).

success
boolean
Example:

true

data
object