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

# Get a league profile

`POST /leagues/{identifier}`

Returns the public profile for a single league, resolved by slug or Convex ID. Requires the leagues.league_public:read permission.

## Path parameters

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

## Response `200`

The league profile.

- LeagueProfileResponse — League profile response envelope.
  - `league` LeagueProfile, required — Public profile for a single league.
    - `id` string, required — League ID.
    - `name` string, required — League display name.
    - `slug` string, required — URL-friendly league identifier.
    - `description` string, required — League description.
    - `avatarUrl` string, nullable, required — League avatar image URL.
    - `bannerUrl` string, nullable, required — League banner image URL.
    - `status` string, required — League status (e.g. active, inactive).
    - `isVerified` boolean, required — Whether the league is verified.
    - `isFeatured` boolean, required — Whether the league is featured.
    - `teamCount` integer, required — Number of teams in the league.
    - `staffCount` integer, required — Number of staff members.
    - `games` object[], required — Games associated with the league.
    - `activeSeasons` object[], required — Currently active seasons.
    - `socials` object, nullable, required — Social media links.
    - `createdAt` number, required — Creation timestamp (epoch milliseconds).
  - `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.

---

[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)
