VocalDocscontracts 1.65.0

Read an event filter

GET /v1/event-filters/{filter_id}

PropertyValue
Operationget_event_filter
GroupEvents
Scopewebhooks:read
Route classread
IdempotencyNo Idempotency-Key
AuditNot audited: A configuration read; a filter holds ids and labels, never content.
Released in1.52.0
Phase 0 hostServed (the hosted api pins 1.65.0)

Request

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

curl "$VOCAL_API/v1/event-filters/evf_..." \
  -H "Authorization: Bearer $VOCAL_API_KEY"

Parameters

NameInTypeRequiredDescription
filter_idpathEventFilterIdyesThe id of an event filter: evf_ and the row's UUIDv7 in 26 Crockford base32 characters. Opaque and safe to log.

Responses

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

Fields of the 200 answer

The shape is EventFilter.

FieldTypeRequiredDescription
agent_idsarray of AgentIdyesEvents whose Call, or Agent version, belongs to one of these Agents.
created_atTimestampyes
environmentsarray of EnvironmentyesThe environments to match; empty matches both, as livemode stays in the envelope.
idEventFilterIdyes
namestringyes
object"event_filter"yes
phone_number_idsarray of PhoneNumberIdyesEvents of Calls on one of these Phone numbers.
revisionintegeryesCounts writes; returned as the ETag and required in If-Match.
tagsarray of CallTagyesEvents of Calls carrying any of these tags, which a pre-call hook sets.
trace_typesarray of TraceEventTypeyesThe trace types a call.trace.ready keeps; empty keeps every one.
updated_atTimestampyes