Skip to main content
GET
/
teams
List teams
curl --request GET \
  --url https://api.e2b.app/teams \
  --header 'Authorization: Bearer <token>'
[
  {
    "teamID": "<string>",
    "name": "<string>",
    "apiKey": "<string>",
    "isDefault": true
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully returned all teams

teamID
string
required

Identifier of the team

name
string
required

Name of the team

apiKey
string
required

API key for the team

isDefault
boolean
required

Whether the team is the default team