Skip to content
vocapable.Docs

Listen to, coach or join a teammate's live call (managers and owners)

POST
/v1/workspace/calls/{call_id}/supervision
curl --request POST \
--url https://api.vocapable.com/v1/workspace/calls/example/supervision \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "mode": "listen", "channel": "app" }'
call_id
required
Call Id
string
Media typeapplication/json
WorkspaceSupervisionStartRequest
object
mode
Mode
string
default: listen
Allowed values: listen whisper barge
channel
Channel
string
default: app
Allowed values: app phone

Successful Response

Media typeapplication/json
WorkspaceSupervisionSession

The supervisor’s own view of one supervision.

object
supervision
required
WorkspaceCallSupervision

A manager or owner listening to, whispering to or joined to a live call.

Shown to the REP on their own call (notice: “Priya is listening”) - supervision is never silent. ringing = the supervisor’s leg is connecting; joined = the carrier confirmed it is in the call.

object
id
required
Id
string
supervisor
required
WorkspacePersonRef

A teammate named on a record: the id the server holds and the name to show.

object
user_id
required
User Id
string
name
required
Name
string
mode
required
Mode
string
Allowed values: listen whisper barge
channel
required
Channel
string
Allowed values: app phone
state
required
State
string
Allowed values: requested ringing joined ended failed
notice
required
Notice
string
requested_at
required
Requested At
string format: date-time
joined_at
required
Any of:
string format: date-time
ended_at
required
Any of:
string format: date-time
end_reason
required
Any of:
string
revision
required
Revision
integer
call_id
required
Call Id
string
rep
required
Any of:
WorkspacePersonRef

A teammate named on a record: the id the server holds and the name to show.

object
user_id
required
User Id
string
name
required
Name
string
with_name
required
With Name
string
destination_hint
Any of:
string
Example
{
"supervision": {
"mode": "listen",
"channel": "app",
"state": "requested"
}
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}