Skip to main content
POST
Record up to 500 usage events

Example request

The response is index-aligned with the request: item N’s outcome is at position N, so a partial failure tells you exactly which events to retry. Give every event a transaction_id — retries with the same ID are deduplicated, so a crashed batch can be resent whole. Batches cap at 500 events; above that, split the batch.

Errors

Bad individual events don’t fail the request: the call returns 200 and the offending index carries "status": "error" with its reason (bad UUIDs, non-positive quantity, unknown subscription, customer mismatch). Errors use the standard envelope — see Errors.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Body

application/json
events
object[]
required
Maximum array length: 500

Response

Per-item outcomes, index-aligned with the request.

data
object[]