Skip to main content
GET
/
orgs
/
discover
Discover public organizations
curl --request GET \
  --url https://teambattles.gg/api/v1/orgs/discover \
  --header 'Authorization: Bearer <token>'
{
  "organizations": [
    {
      "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_

Query Parameters

Optional organization name search.

limit
integer
Required range: 1 <= x <= 100

Response

Discoverable organizations.

Envelope containing organizations, count, and a response timestamp.

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

ISO 8601 timestamp.