Listen to, coach or join a teammate's live call (owner/manager)
POST
/v1/mobile/workspace/calls/{call_id}/supervision
const url = 'https://api.vocapable.com/v1/mobile/workspace/calls/example/supervision';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"mode":"listen","channel":"app"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.vocapable.com/v1/mobile/workspace/calls/example/supervision \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "mode": "listen", "channel": "app" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”call_id
required
Call Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
WorkspaceSupervisionStartRequest
object
mode
Mode
string
channel
Channel
string
Responses
Section titled “Responses”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
channel
required
Channel
string
state
required
State
string
notice
required
Notice
string
requested_at
required
Requested At
string format: date-time
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
null
with_name
required
With Name
string
Example
{ "supervision": { "mode": "listen", "channel": "app", "state": "requested" }}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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": {} } ]}