---
title: "Get league penalties and cooldowns"
method: POST
path: "/leagues/{identifier}/penalties"
tags: ["League: Moderation"]
---

# Get league penalties and cooldowns

`POST /leagues/{identifier}/penalties`

Returns penalties and/or member cooldowns for a league resolved by slug, with optional filtering. Requires a personal or developer API key whose owner is currently a league ADMIN of the league in the path (or TeamBattles staff), with leagues.league_admin:read access on the key. These admin reads no longer require a paid developer plan; they stay authority-gated (current league ADMIN) and rate-limited by the league owner's plan. League API WRITE routes still require the leagueOperatorApi feature (api_pro or higher) on the league owner's plan.

## Path parameters

- `identifier` string, required — League slug.

## Request body

- PenaltiesRequestBody — Type, team, game, and limit filters for league penalties and cooldowns.
  - `type` 'penalties' | 'cooldowns' | 'all' — Which record kinds to return. Defaults to all.
  - `teamId` string — Filter penalties to a specific team id.
  - `gameId` string — Filter penalties to a specific game id.
  - `limit` integer — Maximum number of penalties to return (1-100). Defaults to 50.

## Response `200`

Penalties and cooldowns for the league.

- LeaguePenalties — Penalties and cooldowns for a league.
  - `penalties` object[], required — Enriched penalty records (empty when type is cooldowns).
  - `cooldowns` object[], required — Enriched member cooldown records (empty when type is penalties).
  - `count` integer, required — Combined number of penalties and cooldowns returned.
  - `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.

---

[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/versions/2ffe8fb53b7d/schema)
