---
title: "Create Leaderboard"
method: POST
path: "/v1/leaderboards"
tags: ["Leaderboards"]
---

# Create Leaderboard

`POST /v1/leaderboards`

Creates a new leaderboard.

## Request body

- LeaderboardCreate
  - `name` string, required — The name of the leaderboard.
  - `description` string, required — The description of the leaderboard.
  - `visibility` 'general' | 'personal'
  - `start_at` integer — The start date of the leaderboard in Unix timestamp.If set, the leaderboard will only be visible in game-hub after this date.
  - `end_at` integer — The end date of the leaderboard in Unix timestamp.If set, the leaderboard will only be visible in game-hub before this date.

## Response `201`

Successful Response

- LeaderboardRead
  - `name` string, required — The name of the leaderboard.
  - `description` string, required — The description of the leaderboard.
  - `visibility` 'general' | 'personal'
  - `start_at` integer — The start date of the leaderboard in Unix timestamp.If set, the leaderboard will only be visible in game-hub after this date.
  - `end_at` integer — The end date of the leaderboard in Unix timestamp.If set, the leaderboard will only be visible in game-hub before this date.
  - `id` string, required — The unique identifier of the leaderboard.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api.md) · [All operations](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aghanim/aghanim-server-to-server-api/versions/0c1b4ac1865b/schema)
