Who can take this caller now
GET
/v1/workspace/calls/{call_id}/transfer-candidates
const url = 'https://api.vocapable.com/v1/workspace/calls/example/transfer-candidates';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/workspace/calls/example/transfer-candidates \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”call_id
required
Call Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
WorkspaceTransferCandidates
object
data
required
Data
Array<object>
WorkspaceTransferCandidateobject
user_id
required
User Id
string
name
required
Name
string
role
required
Role
string
device_label
required
Device Label
string
device_kind
Device Kind
string
unavailable
Unavailable
Array<object>
WorkspaceTransferUnavailableA teammate who cannot take the caller right now, and why (E5-R1).
object
user_id
required
User Id
string
name
required
Name
string
role
required
Role
string
reason
required
Reason
string
destinations
Destinations
Array<object>
WorkspaceTransferDestinationA number the owner allow-listed for external transfers and three-way calls (E5-R3).
object
id
required
Id
string
name
required
Name
string
phone_e164
required
Phone E164
string
revision
required
Revision
integer
payment_line
Payment Line
boolean
receptionist
Any of:
WorkspaceReceptionistTransfer
Whether the caller can be handed back to the AI receptionist from this call.
object
available
required
Available
boolean
reason
required
Reason
string
null
Example
{ "data": [ { "role": "owner", "device_kind": "browser" } ], "unavailable": [ { "role": "owner", "reason": "on_a_call" } ], "destinations": [ { "payment_line": false } ]}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": {} } ]}