Create event

POST /events

Creates a new event

Request body

eventobjectrequired
event object
timestampdate-time \| null

Date and time when the event was generated in ISO 8601 format. If not sent, the current time will be used. The maximum period for retroactive submission (backfill) is 24 hours. Future timestamps are not allowed.

idstringrequired

Unique event identifier code. Cannot be reused within 24 hours for the same event type.

typestringrequired

Event type ID

attributesobjectrequired

Event data according to the configured fields.

Responses

201Event created successfully
401Invalid access credentials
Response body
errorsarray
errors[] item
fieldstring

Request field where the error occurred

typestring

Error type code

messagestring

Error message

422Invalid parameters
Response body
errorsarray
errors[] item
fieldstring

Request field where the error occurred

typestring

Error type code

messagestring

Error message

{
  "event": {
    "timestamp": "2024-01-01T00:00:00Z",
    "id": "string",
    "type": "transaction",
    "attributes": {
      "amount": "120.50",
      "status": "paid"
    }
  }
}