Skip to main content
POST

Request Properties

Example Request:

Authorizations

X-Team-ApiKey
string
header
required

Team API key for authentication. Find your API key in SendX Settings → Team API Key.

Example:

Body

application/json
identifier
string
required

This is the contact identifier. Contact id and email can be used interchangeably.

Example:

"user@example.com"

name
string
required

Event name

Example:

"video_watched"

data
object

Event data

Example:
time
integer<int64>

Unix timestamp (in seconds since January 1, 1970) representing when the event occurred.

Example:

1669990400

Response

✅ Custom event tracked successfully

status
string
Example:

"success"

message
string
Example:

"Event tracked successfully"