Skip to main content
POST
Create a user stat

Authorizations

Authorization
string
header
required

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

Body

application/json

The stat to create

stat_type_id
string<uuid>
required
user_id
string<uuid>
required
value
integer
required

The value to record. 0 is a valid value.

Response

The new user stat.

data
object

The payload. Left out when there is none.

message
string

Text that is safe to show a user. Left out when there is none.

status
enum<string>

success or error. A 410 for a session that has ended says ended instead.

Available options:
success,
error,
ended