VocalDocscontracts 1.65.0

Read which content classes of a Call the caller may see

GET /v1/calls/{call_id}/content-access

PropertyValue
Operationget_call_content_access
GroupCall trace and analytics
Scopecalls:read
Route classread
IdempotencyNo Idempotency-Key
AuditNot audited: A metadata read; it names classes and grant ids and reads no Call content.
Released in1.58.0
Phase 0 hostServed (the hosted api pins 1.65.0)

Answers, for the caller, each content class of the Call as allowed, reveal or denied, with the reveal grant that opens a class (1.58.0): a Member by its role's cell in the Compliance profile in force and its own active grants, an API key by its scopes. The Call page offers Reveal for a reveal class without a refused read. A Call of another Organization is not found.

Request

Set VOCAL_API to the base URL of your API and VOCAL_API_KEY to an API key with the calls:read scope (Authentication and keys). Replace each placeholder, such as agt_... or <name>, with your own value.

curl "$VOCAL_API/v1/calls/call_.../content-access" \
  -H "Authorization: Bearer $VOCAL_API_KEY"

Parameters

NameInTypeRequiredDescription
call_idpathCallIdyesThe id of a Call: call_ and the row's UUIDv7 in 26 Crockford base32 characters. Opaque and safe to log.

Responses

StatusContent typeShapeError codes
200application/jsonCallContentAccess
400application/jsonErrorEnvelopeinvalid_request
401application/jsonErrorEnvelopeunauthenticated
403application/jsonErrorEnvelopeforbidden
404application/jsonErrorEnvelopenot_found
429application/jsonErrorEnveloperate_limited
500application/jsonErrorEnvelopeinternal_error

Fields of the 200 answer

The shape is CallContentAccess.

FieldTypeRequiredDescription
call_idCallIdyes
classesarray of ContentClassAccessyesEach content class, in the order of CONTENT_LOG_CLASSES.
object"call_content_access"yes