Skip to main content
GET
/
team
/
{team_id}
Get team by ID
curl --request GET \
  --url https://api.basic.tech/team/{team_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "owner_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "members": [
      {
        "account_id": "<string>",
        "roles": "<string>",
        "role_name": "<string>"
      }
    ],
    "projects": [
      {
        "id": "<string>",
        "name": "<string>",
        "slug": "<string>",
        "profile": {
          "icon_url": "<string>"
        }
      }
    ],
    "invites": [
      {
        "id": "<string>",
        "team_id": "<string>",
        "email_or_username": "<string>",
        "roles": "<string>",
        "role_name": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization Token header using the Bearer scheme

Path Parameters

team_id
string
required

The ID of the team to retrieve

Response

Team retrieved successfully

Team retrieved successfully

data
object