Skip to main content
POST
Python (SDK)

Authorizations

X-Analytics-Key
string
header
required

Public project capture credential. Use a separate capture-only MKA1 client without privileged credentials.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Body

application/json
idempotency_key
string
required

Unique identifier for this batch. Reuse it with the same events when retrying. Reusing it with different events returns 409.

Required string length: 1 - 128
Pattern: ^[^\u0000]*$
events
object[]
required
Required array length: 1 - 500 elements

Response

Success

batch_id
string
required
duplicate
boolean
required
event_count
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991