A receptionist transfer ringing in your app: ringing, answered, or declined
GET
/v1/mobile/workspace/handoffs/{handoff_id}/live
const url = 'https://api.vocapable.com/v1/mobile/workspace/handoffs/example/live';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vocapable.com/v1/mobile/workspace/handoffs/example/live \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”handoff_id
required
Handoff Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
LiveHandoffOffer
A receptionist transfer ringing for you, as the server sees it (PRD E3-R11/E4-R7).
state: ringing_app (your app is ringing), ringing_phone (the app was not
answered; your verified phone is being rung), connecting (you answered; the caller is
being moved to you), connected (the carrier confirmed the caller joined you),
declined (you declined; the receptionist offers the caller to take a message),
missed (nobody answered), ended, reassigned (E4-R7: the caller was sent to
a teammate before you answered; your ring is cancelled).
object
handoff_id
required
Handoff Id
string
state
required
State
string
yours
required
Yours
boolean
observed_at
required
Observed At
string format: date-time
can_redirect
required
Can Redirect
boolean
Example
{ "state": "ringing_app"}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": {} } ]}