Ingest events in batch
Events
Ingest events in batch
Submit up to 100 events in a single request. Each event is validated independently; invalid events are rejected synchronously while valid events are accepted for asynchronous processing. Subscribe to event.failed webhooks for async error notification.
POST
Ingest events in batch
Submits up to 100 events in a single request. Each event in the batch is validated independently. Individual events can succeed or fail without affecting the others. The response returnsDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
202 Accepted with total, success_count, error_count, and a results array in the same order as the input. Each result has a status of accepted or error. Processing happens asynchronously after acceptance.
Batch ingestion follows the same semantics as single-event ingestion. Each event requires an idempotency_key scoped to its program_id. Duplicate keys with identical payloads return the original event; duplicate keys with different payloads return an error for that item.
Check individual event statuses via the get event endpoint or by polling the list endpoint with the relevant filters.
For usage patterns and examples, see the Event Processing guide.
Authorizations
API key passed in the X-API-Key header.
Body
application/json
Batch of events
Events is a list of events to ingest (max 100 per request)
Required array length:
1 - 100 elementsResponse
Batch accepted for async processing