Dispatch

Send an event

POST/v1/dispatch/events

Sends an event to the endpoints that subscribe to its type. Send an Idempotency-Key header, or idempotency_key in the body, so a retry doesn't send twice.

Parameters

Body parameters5
typestringRequired

An event type that exists in your workspace.

dataobjectRequired

The event payload. Validated against the type's schema.

customer?string

Send only to this customer's endpoints (external_id).

endpoint_id?string

Send only to this endpoint (dst_…).

idempotency_key?string

Up to 200 characters. Reusing a key for a different request returns 409.

Returns

200The sample response is on the right.Errors return error and message; see Errors and limits.