Event API
Endpoints
Track events
POST https://api.trytalo.com/v1/events
Headers
Key | Required | Description |
---|---|---|
x-talo-alias | ✅ Yes | The ID of the player's alias |
Body keys
Key | Required | Description |
---|---|---|
events | ✅ Yes | An array of EventData |
Sample request
{ ... }
Sample response
{ ... }
Types
EventData
EventData {
name: string // name of the event
timestamp: number // UNIX milisecond timestamp, e.g. 1656971058297
props?: Prop[]
}
Prop {
key: string
value: string
}