curl -X POST https://api.pushrail.io/events \
-H "Authorization: Bearer pk_live_..." \
-H "Content-Type: application/json" \
-d ' {
"eventType": "string",
"occurredAt": "2026-06-24T18:04:14.143Z",
"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": {}
}
]
}'