Skip to main content
POST
/
v1
/
{project_id}
/
webapp
/
track
Track WebApp events
curl --request POST \
  --url https://api.dashgram.io/v1/{project_id}/webapp/track \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "updates": [
    {
      "event_id": "<string>",
      "type": "<string>",
      "init_data": {},
      "timestamp": 123,
      "properties": "<unknown>",
      "telemetry": {
        "ip": "<string>",
        "platform": "android",
        "user_agent": "<string>",
        "timezone": "<string>",
        "theme": "light"
      },
      "source": "auto",
      "level": 123
    }
  ],
  "origin": "<string>"
}
'
{
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
integer
required

Numeric project identifier

Body

application/json
updates
object[]
required

List of WebApp events.

origin
string | null

Optional origin label for the batch.

Response

200 - application/json

Successfully tracked events

status
string

Status of the tracking process