Share the evaluation with the agent
const url = 'https://api.vocapable.com/v1/workspace/quality/evaluations/example/submit';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"expected_revision":1}'};
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/workspace/quality/evaluations/example/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "expected_revision": 1 }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
Examplegenerated
{ "expected_revision": 1}Responses
Section titled “Responses”Successful Response
object
A teammate named on a record: the id the server holds and the name to show.
object
A teammate named on a record: the id the server holds and the name to show.
object
object
object
A teammate named on a record: the id the server holds and the name to show.
object
object
A teammate named on a record: the id the server holds and the name to show.
object
object
A teammate named on a record: the id the server holds and the name to show.
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
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.
Example
{ "call": { "direction": "inbound", "channel": "voice" }, "subject_kind": "person", "score_source": "human", "status": "draft", "sections": [ { "questions": [ { "type": "yes_no" } ] } ], "answers": [ { "type": "yes_no", "value": "yes", "source": "human", "ai_value": "yes" } ], "disputes": [ { "status": "open", "before_value": "yes", "after_value": "yes" } ], "actions": [ "edit" ]}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}