POST
/
api
/
public
/
apps
/
track
Header
Body
curl --request POST \
  --url http://localhost/api/public/apps/track \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "context": {},
  "event": "<string>",
  "messageId": "<string>",
  "properties": {},
  "timestamp": "<string>",
  "userId": "<string>"
}'
"<string>"

The following is an example of a track body.

example body
{
  "event": "Signed Up",
  "userId": "1043",
  "properties": {
    "plan": "Enterprise"
  },
  "messageId": "1ff51c9c-4929-45de-8914-3bb878be8c4a"
}

Headers

authorization
string
required

Body

application/json
  • Option 1

  • Option 2

context
object
event
string
required
messageId
string
required
properties
object
timestamp
string
userId
string
required

Response

204 - application/json

An empty String