Endpoint
Headers
Header | Value | Required |
---|---|---|
Content-Type | application/json | Yes |
Authorization | Token {YOUR_API_KEY} | Yes |
X-API-Version | 2020-09-22 | Yes |
Request Body
Field | Type | Required | Description |
---|---|---|---|
user_id | string | Yes | Identifier of the user associated with the event |
event_name | string | Yes | Name of the event to track |
metadata | object | No | Key-value pairs providing additional event details |
Example
Example cURL Command
Response
A successful event tracking returns HTTP status code 202 Accepted.- Only primitive types (string, number, boolean, null) are supported in metadata.
Use this endpoint to track any custom event relevant to your analytics or
engagement workflows.