POST
/
v1
/
track
Track Events
curl --request POST \
  --url https://analytix.userpilot.io/v1/track \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "<string>",
  "event_name": "<string>",
  "metadata": {
    "Appointment Date": "<string>",
    "Appointment Type": "<string>",
    "Scheduled By": "<string>",
    "Specialty": "<string>",
    "Provider ID": "<string>",
    "Appointment Status": "<string>"
  }
}'
This response does not have an example.

Headers

Content-Type
string
Accept
string
Authorization
string
required

API authentication token in the format: Token {{API_KEY}} Obtain your API key from the Userpilot Environment Settings.

Body

application/json

Response

202

Accepted - Event tracking successful