Skip to main content
GET
/
v1
/
orgs
/
{orgID}
/
teams
List Org Teams
curl --request GET \
  --url http://localhost:3000/v1/orgs/{orgID}/teams \
  --header 'Authorization: Bearer <token>'
{
  "teams": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Authorizations

Authorization
string
header
required

Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).

Path Parameters

orgID
string<uuid>
required

The ID of the organization to list teams for.

Response

A list of teams

teams
object[]