Skip to main content
GET
/
orgs
/
{identifier}
/
teams
List organization teams
curl --request GET \
  --url https://teambattles.gg/api/v1/orgs/{identifier}/teams \
  --header 'Authorization: Bearer <token>'
{
  "teams": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "tag": "<string>",
      "avatarUrl": "<string>"
    }
  ],
  "count": 4503599627370495,
  "timestamp": "<string>"
}

Authorizations

Authorization
string
header
required

Send your API key as: Authorization: Bearer tb_

Path Parameters

identifier
string
required

Organization slug or Convex organization ID.

Response

Organization teams.

Envelope containing teams, count, and a response timestamp.

teams
object[]
required
count
integer
required
Required range: 0 <= x <= 9007199254740991
timestamp
string
required

ISO 8601 timestamp.