Create Leaderboard
POST
https://api.lootlocker.io/server/leaderboards
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.io/server/leaderboards' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Test Leaderboard 2",
"direction_method": "descending",
"enable_game_api_writes": false,
"type": "player"
}'
Response Response Example
{
"created_at": "string",
"updated_at": "string",
"key": "string",
"direction_method": "string",
"name": "string",
"type": "string",
"id": 0,
"game_id": 0,
"enable_game_api_writes": true,
"overwrite_score_on_submit": true,
"has_metadata": true
}
Request
Header Params
x-auth-token
stringÂ
required
Default:
{{server_auth_token}}
Body Params application/json
Responses
Modified at 2025-04-07 14:13:45