v1

latestOpenAPI 3.1.02026-07-26461279.9 KB
Public Apps

The Track call is how you record any actions your users perform, along with any properties that describe the action.

post/api/public/apps/track

Headers

authorizationstring required

Authorization header for the request, in the format Bearer <token>. Find your token at https://app.dittofeed.com/dashboard/settings#write-key.

Request body

OR

Example request

{
  "messageId": "23d04926-78e5-4ebc-853f-f26c84ff629e",
  "timestamp": "2024-04-22T07:00:00.000Z",
  "event": "COURSE_CLICKED",
  "properties": {
    "title": "Intro to customer engagement"
  },
  "context": {
    "ip": "192.0.2.1"
  },
  "userId": "1043"
}

Response

An empty String

string required

An empty String