Skip to main content
POST
/
client
/
events
/
bulk
Create events in bulk
curl --request POST \
  --url http://localhost:8080/api/v1/client/events/bulk \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "events": [
    {
      "action": "<string>",
      "amount": 123,
      "auto_create_contact": true,
      "email": "user@example.com",
      "external_id": "<string>",
      "feature": "<string>",
      "idempotency_key": "<string>",
      "metadata": {},
      "plan": "<string>",
      "source": "<string>",
      "status": "<string>",
      "ts": "<string>",
      "type": "purchase",
      "uid": "usr_abc123",
      "upgrade": true
    }
  ]
}
'
"<unknown>"

Authorizations

Authorization
string
header
required

JWT Bearer token or raw API key via Authorization header

Query Parameters

sync
boolean

Process immediately and return per-item processing errors

processing_mode
string

Set to sync for immediate processing

Body

application/json

Bulk event payload

events
object[]

Response

OK

The response is of type any.