Analytics apiEvent

Log Event

POST
/events
/events

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

The API key for a Web integration

In: header

Authorization
Required
Bearer <token>

The API key for an API integration

In: header

Request Body

application/jsonOptional

bodyobject | object | object

curl -X POST "https://api.analytics.inkeep.com/events" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "string",
    "type": "string",
    "messageId": "string",
    "createdAt": "string",
    "properties": {},
    "userProperties": {},
    "entityType": "message"
  }'

Event logged successfully

{
  "id": "string",
  "type": "string",
  "messageId": "string",
  "createdAt": "string",
  "properties": {},
  "userProperties": {},
  "entityType": "message"
}