TopStats.gg

Upload an event

POST
/v1/events
AuthorizationBearer <token>

Workspace API key. Production keys start with ts_live_, development keys with ts_test_.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

A single event. Only these fields are allowed.

Response Body

application/json

curl -X POST "https://example.com/v1/events" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "accepted": 0}