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

# Get league games

`POST /leagues/{identifier}/games`

Returns games configured for a league resolved by slug or Convex ID. Requires leagues.league_public:read.

## Path parameters

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

## Response `200`

League games.

- LeagueGames — Games configured for a league.
  - `games` object[], required — Games configured for the league.
  - `count` integer, required — Number of configured games returned.
  - `timestamp` string, required — Response generation time (ISO 8601).

## Other responses

- `401` — Missing or invalid API key.
- `403` — API key lacks the required permission.
- `404` — Resource not found.
- `429` — Rate limited.
- `500` — Internal server error.

---

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