Skip to main content
POST

Authorizations

x-api-key
string
header
required

Your Upstack API key. Starts with upstack_.

x-pixel-id
string
header
required

The pixel id the request targets.

Headers

x-upstack-api-version
string

The API version to use, named by the date it went live (YYYY-MM-DD). Omit it to get the oldest version that still works. Every response returns the version it used in the same header. See API versioning.

Example:

"2026-05-26"

Body

application/json
events
object[]
required

The events to ingest. At least 1, at most 100 per request.

Required array length: 1 - 100 elements

Response

Events accepted for processing. eventsIngested is the number queued.

requestId
string
required

Unique id for this request (also the x-request-id header).

eventsIngested
integer
required

Number of events accepted and queued for processing.