Skip to main content

GET /teams

List all teams belonging to the account.

Example Request

curl -X GET "https://api.callbell.eu/v1/teams" \
-H "Authorization: Bearer test_gshuPaZoeEG6ovbc8M79w0QyM" \
-H "Content-Type: application/json"

Response

ParameterTypeDescription
teamsTeam[]A list of teams.

Example Response

response.json
{
"teams": [
{
"uuid": "ad42a09715814e6483b1c5debd6a2dbc",
"name": "General",
"createdAt": "2020-11-13T21:08:53Z",
"default": true,
"members": 2
},
{
"uuid": "47aad5f9b4ca423c9d630f06ab93fe1f",
"name": "Support",
"createdAt": "2020-11-13T21:10:33Z",
"default": false,
"members": 1
}
],
"meta": {
"page": 1,
"pages": 1
}
}