---
title: "List sprints for a community"
method: GET
path: "/public/communities/{subdomain}/leaderboard/sprint"
tags: ["leaderboard"]
---

# List sprints for a community

`GET /public/communities/{subdomain}/leaderboard/sprint`

## Path parameters

- `subdomain` string, required

## Query parameters

- `onlyCurrent` boolean, nullable

## Headers

- `x-api-key` string, required

## Response `200`

200

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `rewards` union, required
      - object
        - `type` string
        - `text` string
        - `attrs` object
        - `marks` object[]
          - `type` string, required
          - `attrs` object
            - `href` string
            - `target` '_blank' | '_parent' | '_self' | '_top'
            - `class` string, nullable
        - `content` unknown
      - object
    - `rewardZone` number, nullable, required
    - `endingAt` string, date-time, required
    - `startingAt` string, date-time, required
    - `createdAt` string, date-time, required
    - `v2` boolean, required
    - `name` string, nullable
    - `description` string, nullable
    - `image` string, nullable
    - `color` string, nullable
    - `includedQuestIds` string[], required

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404
- `409` — 409
- `429` — 429
- `500` — 500

---

[API](https://skmtc.net/zealy/apis/zealy-api.md) · [All operations](https://skmtc.net/zealy/apis/zealy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zealy/zealy-api/revisions/1c24cb9f818b/schema)
