curl -X POST https://api.pushrail.io/events/batch \
-H "Authorization: Bearer pk_live_..." \
-H "Content-Type: application/json" \
-d ' {
"events": [
{
"eventType": "string",
"occurredAt": "2026-06-24T18:04:14.160Z",
"payload": {},
"metadata": {},
"source": "string",
"customerExternalId": "string",
"idempotencyKey": "string",
"correlationId": "string",
"requestId": "string",
"attachments": [
{
"source": {
"kind": "s3",
"uri": "string"
},
"fileType": "string",
"contentType": "string",
"sizeBytes": 0,
"fileName": "string",
"metadata": {}
}
]
}
]
}'