---
title: "Get league season options"
method: POST
path: "/leagues/{identifier}/season-options"
tags: ["League Discovery"]
---

# Get league season options

`POST /leagues/{identifier}/season-options`

## Request

- Base URL: `https://teambattles.gg/api/v1`
- URL: `https://teambattles.gg/api/v1/leagues/{identifier}/season-options`
- Auth: HTTP bearer

Returns season selector options for a league game. Requires leagues.league_public:read.

## Path parameters

- `identifier` string, required: League slug or Convex league ID.

## Request body

- LeagueSeasonOptionsRequestBody: Season option selector.
  - `gameId` string, required: Game ID to list season options for.

## Response `200`

League season options.

- LeagueSeasonOptions: Season selector options.
  - `seasons` object[], required: Season selector options for a league game.
  - `defaultSeasonId` string, nullable, required: Recommended default option.
  - `timestamp` string, required: Response generation time (ISO 8601).

## Other responses

- `400`: Bad request (invalid body, cursor, limit, or date).
- `401`: Missing or invalid API key.
- `403`: API key lacks the required permission.
- `404`: Resource not found.
- `429`: Rate limited.
- `500`: Internal server error.

## Changes

- **2026-06-10** `82f2480cdb83`: 2 info
  - api tag `League Discovery` added
  - api tag `Leagues` removed
- **2026-06-07** `480c7d480b2e`: 1 info
  - endpoint added
- **2026-06-04** `f22bd61fd595`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/teambattles/apis/teambattles-api/changes/leagues/:identifier/season-options/post.md)

---

[API](https://skmtc.dev/teambattles/apis/teambattles-api.md) - [All operations](https://skmtc.dev/teambattles/apis/teambattles-api/llms.txt) - [OpenAPI document](https://skmtc.dev/teambattles/apis/teambattles-api/revisions/75b07daef7dc?raw)
