v1

latestOpenAPI 3.1.02026-07-22115189303.8 KB
Events

Emit a project event

Stores one timestamped project event. Event names must be lowercase and may contain optional dot-separated segments; each segment starts with a lowercase letter and may contain lowercase letters, numbers, and underscores. conversation_id is optional; include it when the event belongs to a WhatsApp conversation.

post/events

Request body

namestring required

Event name. Must be lowercase and may contain optional dot-separated segments. Each segment starts with a lowercase letter and may contain lowercase letters, numbers, and underscores. Maximum 128 characters.

occurred_atstring date-time

Optional event timestamp. Defaults to the current time.

conversation_idstring uuid

Optional WhatsApp conversation ID to link to the event

propertiesobject

Optional flat event properties object

Example request

{
  "name": "conversation.csat_scored"
}

Response

Event created

Example response

{
  "data": {
    "name": "conversation.csat_scored"
  }
}