POST
/
v1
/
track

Body

event
string
required

The event you want to track

email
string
required

The email address

subscribed
boolean
default: "true"

Should the contact be subscribed

data
object

Metadata you want to attach to the contact.

Headers

Content-Type
string
required

application/json

Response

success
boolean

Indicates whether the call was successful.

contact
string

The ID of the contact. If the contact already exists, the ID will be returned. If the contact is new, a new ID will be generated.

event
string

The ID of the event. If the event already exists, the ID will be returned. If the event is new, a new ID will be generated.

timestamp
datetime

The timestamp of the event.