API referenceEvent

POST /events/batch

POST
/events/batch

Header Parameters

x-axonpush-api-key?string
x-api-key?string
x-public-token?string
Authorization?string
X-Axonpush-Environment?string

Environment id or slug for an unbound credential; a credential bound to an environment may only name its own

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/events/batch" \  -H "Content-Type: application/json" \  -d '{    "events": [      {        "identifier": "string",        "payload": {          "property1": null,          "property2": null        }      }    ]  }'
{  "$schema": "https://example.com/schemas/BatchOutputBody.json",  "results": [    {      "errorCode": "string",      "eventId": "string",      "index": 0,      "status": "string"    }  ]}