Sign in

Batch requests

documented

Send multiple identify/track/page/screen/group/alias requests in a single HTTP call.

POST /v1/batchBatch operationsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://cdp.customer.io/v1/batch" \
  -X POST \
  -u "{{CUSTOMER_API_KEY}}:" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"batch": [{"type": "{{$type}}", "userId": "{{$user_id}}", "traits": {"email": "{{$email}}", "name": "{{$name}}"}}], "context": {"ip": "{{$ip}}", "locale": "{{$locale}}", "userAgent": "{{$userAgent}}"}, "integrations": {"All": true}}'
Batch requests · Customer.io · OpenIntegrations