VocalDocscontracts 1.65.0

EventFilterCreateRequest

Creates an event filter (1.52.0); an omitted field is empty. A filter with every field empty is refused with event_filter_empty, a value named twice with event_filter_value_repeated, and an Agent or Phone number that is not the Organization's is kept, matching nothing, as the document says.

An object with 6 fields.

Fields

FieldTypeRequiredDescription
agent_idsarray of AgentIdnoEvents whose Call, or Agent version, belongs to one of these Agents.
environmentsarray of EnvironmentnoThe environments to match; empty matches both, as livemode stays in the envelope.
namestringyes
phone_number_idsarray of PhoneNumberIdnoEvents of Calls on one of these Phone numbers.
tagsarray of CallTagnoEvents of Calls carrying any of these tags, which a pre-call hook sets.
trace_typesarray of TraceEventTypenoThe trace types a call.trace.ready keeps; empty keeps every one.

Used by

The operations whose parameters, request body or responses name this shape directly.