---
title: "Leaderboard"
method: GET
path: "/campaigns/{campaignId}/leaderboard"
---

# Leaderboard

`GET /campaigns/{campaignId}/leaderboard`

## Request

- Base URL: `https://gamify-api-us.optimove.net/adact`
- URL: `https://gamify-api-us.optimove.net/adact/campaigns/{campaignId}/leaderboard`
- Auth: none required

This endpoint allows you to query leaderboard data for a campaign.  It provides information such as player rankings, scores, and time played. Use this endpoint if you want to display a real-time leaderboard in your system to showcase player achievements and encourage competition.

## Path parameters

- `campaignId` integer, required

## Query parameters

- `limit` integer, required
- `player` string
- `sorting` 'score' | 'time'
- `fromDate` string

## Response `200`

200

- object
  - `me` object
    - `place` string
    - `score` integer
    - `gameDurationInSeconds` integer
    - `leaderboardName` string
  - `leaderboards` object[]
    - `place` string
    - `score` integer
    - `gameDurationInSeconds` integer
    - `leaderboardName` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/optimove/apis/gamify.md) - [All operations](https://skmtc.dev/optimove/apis/gamify/llms.txt) - [OpenAPI document](https://skmtc.dev/optimove/apis/gamify/revisions/a73b512db403?raw)
