API referenceEvent
POST /event
Header Parameters
x-axonpush-api-key?string
x-api-key?string
x-public-token?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/event" \ -H "Content-Type: application/json" \ -d '{ "identifier": "string", "payload": { "property1": null, "property2": null } }'{ "$schema": "https://example.com/schemas/EventOutputBody.json", "eventId": "string", "status": "string"}agentId?string
channel_id?string
Target channel id; when omitted, the org's default channel is used
dedupKey?string
eventType?string
Canonical event type; defaults to custom
expiresAt?string
Original content expiry; may shorten but cannot extend the 30-day retention window
Format
date-timeidentifier*string
Event identifier / operation name
metadata?
occurredAt?string
Original source time; retries must preserve it
Format
date-timeparentSpanId?string
payload*
Event payload
spanId?string
sync?boolean
Ignored; ingest is always asynchronous
traceId?string