The call's transcript and summary beside the scorecard (audited)
const url = 'https://api.vocapable.com/v1/mobile/workspace/quality/call-context';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"workspace_call_id":"example","ai_call_id":"example","conversation_id":"example"}'};
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/quality/call-context \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "workspace_call_id": "example", "ai_call_id": "example", "conversation_id": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”What is evaluated: a person’s call (workspace_call_id), an AI agent’s call
(ai_call_id) or a routed text conversation (conversation_id, CC8-R1).
object
Examplegenerated
{ "workspace_call_id": "example", "ai_call_id": "example", "conversation_id": "example"}Responses
Section titled “Responses”Successful Response
What the evaluator sees beside the scorecard: the transcript (with the turns any evidence cites), the AI summary, and whether a recording can be played (through the recording routes, whose every playback is audited). For a routed text conversation: its message thread and its close (disposition) instead.
object
A teammate named on a record: the id the server holds and the name to show.
object
object
The outbound-dialer facts of a call the dialer placed (CC4): its campaign and the disposition the agent (or the dialer itself) recorded - context for the evaluator.
One text of a routed conversation’s thread (redacted like a transcript turn).
object
A teammate named on a record: the id the server holds and the name to show.
object
How a routed text conversation ended (CC8-R1): the close disposition and note the agent recorded, who closed it and when - context beside the scorecard.
object
A teammate named on a record: the id the server holds and the name to show.
object
Example
{ "direction": "inbound", "subject_kind": "person", "turns": [ { "speaker": "rep" } ], "channel": "voice", "messages": [ { "speaker": "rep" } ]}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}