VocalDocscontracts 1.65.0

Read a Trigger event

GET /v1/trigger-events/{trigger_event_id}

PropertyValue
Operationget_trigger_event
GroupTriggers
Scopeintegrations:read
Route classread
IdempotencyNo Idempotency-Key
AuditNot audited: A configuration read; a subscription and a stored Trigger event hold identifiers only.
Released in1.61.0
Phase 0 hostServed (the hosted api pins 1.65.0)

Answers one stored Trigger event, identifiers only (1.61.0), as the list answers it.

Request

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

curl "$VOCAL_API/v1/trigger-events/tev_..." \
  -H "Authorization: Bearer $VOCAL_API_KEY"

Parameters

NameInTypeRequiredDescription
trigger_event_idpathTriggerEventIdyesThe id of a Trigger event: tev_ and the row's UUIDv7 in 26 Crockford base32 characters. Opaque and safe to log.

Responses

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

Fields of the 200 answer

The shape is TriggerEvent.

FieldTypeRequiredDescription
action_typeTriggerActionTypeyes
call_idCallId or nullyes
connection_idConnectionIdyes
connector_idConnectorIdyes
created_atTimestampyes
dedupe_keyKeyedHashyesThe de-duplication key (1.60.0): from 1.64.0, stated, the KeyedHash under the Organization's run-log key over the canonical JSON of the object {subscription_id, vendor_event_id}, or of {subscription_id, data} with the normalized data when the vendor names no event id, so every edge of a cell computes one key and a rotated subscription token never changes it.
environmentEnvironmentyes
error_codestring or nullyes
event_typeTriggerEventTypeNameyes
idTriggerEventIdyes
job_idJobId or nullyes
message_idMessageId or nullyes
object"trigger_event"yes
organization_idOrganizationIdyes
received_atTimestampyes
replaysintegeryes
run_idRunId or nullyes
statusTriggerEventStatusyes
subscription_idTriggerSubscriptionIdyes
vendor_event_idstring or nullyesThe vendor's event id, or null.