POST /v1/batch
POST /v1/batch — emit up to 1000 events in one call.
Auth
Request
POST /v1/batch
Authorization: Bearer {key}
Origin: {your-origin} ← only for pk_* keys
Content-Type: application/json{
"events": [
{ "event": "$pageview", "anonymous_id": "u_abc",
"url": "https://yoursite.com/?fbclid=abc" },
{ "event": "click", "anonymous_id": "u_abc",
"properties": { "button": "cta" } }
]
}Response
Limits
Atomicity
Why batch
Example: server backfill
Last updated
Was this helpful?