curl --request GET \
--url https://api.cal.id/teams/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cal.id/teams/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cal.id/teams/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cal.id/teams/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cal.id/teams/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cal.id/teams/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.id/teams/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"id": 812,
"name": "Acme Sales",
"slug": "acme-sales",
"bio": "Talk to the Acme sales team.",
"logoUrl": "https://cal.id/team/acme-sales/logo.png",
"hideTeamBranding": false,
"hideTeamProfileLink": false,
"isTeamPrivate": false,
"hideBookATeamMember": false,
"createdAt": "2026-01-22T08:15:00.000Z",
"updatedAt": "2026-04-30T11:47:12.000Z",
"metadata": {},
"theme": null,
"brandColor": "#292929",
"darkBrandColor": "#fafafa",
"timeFormat": 12,
"timeZone": "Europe/London",
"weekStart": "Monday",
"bookingFrequency": null,
"memberCount": 4,
"eventTypeCount": 3
}
],
"message": "Teams retrieved",
"meta": {
"pagination": {
"page": 1,
"limit": 10,
"total": 1,
"totalPages": 1
}
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "Rate limit exceeded",
"error": {
"code": "TOO_MANY_REQUESTS",
"message": "Too many requests. Please retry after the rate limit window resets."
}
}List teams
Lists the teams the authenticated user belongs to, with branding, privacy flags, timezone/week-start defaults and the convenience counters memberCount and eventTypeCount. Paginated through page/limit, with totals in meta.pagination. The user’s role within each team is what determines whether the team-scoped write endpoints will accept their calls.
curl --request GET \
--url https://api.cal.id/teams/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cal.id/teams/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cal.id/teams/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cal.id/teams/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cal.id/teams/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cal.id/teams/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.id/teams/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"id": 812,
"name": "Acme Sales",
"slug": "acme-sales",
"bio": "Talk to the Acme sales team.",
"logoUrl": "https://cal.id/team/acme-sales/logo.png",
"hideTeamBranding": false,
"hideTeamProfileLink": false,
"isTeamPrivate": false,
"hideBookATeamMember": false,
"createdAt": "2026-01-22T08:15:00.000Z",
"updatedAt": "2026-04-30T11:47:12.000Z",
"metadata": {},
"theme": null,
"brandColor": "#292929",
"darkBrandColor": "#fafafa",
"timeFormat": 12,
"timeZone": "Europe/London",
"weekStart": "Monday",
"bookingFrequency": null,
"memberCount": 4,
"eventTypeCount": 3
}
],
"message": "Teams retrieved",
"meta": {
"pagination": {
"page": 1,
"limit": 10,
"total": 1,
"totalPages": 1
}
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "Rate limit exceeded",
"error": {
"code": "TOO_MANY_REQUESTS",
"message": "Too many requests. Please retry after the rate limit window resets."
}
}Authorizations
Use the Authorization header with Bearer scheme.
Examples:
- API Key: Authorization: Bearer calid_xxxxx
Query Parameters
Page number for paginated team results.
x >= 11
Maximum number of teams returned per page.
1 <= x <= 10010
Field used to sort team results.
id, name, slug, createdAt "createdAt"
Sorting direction for team results.
asc, desc "desc"
Case-insensitive partial filter on team name.
"Growth"
Case-insensitive partial filter on team slug.
"growth-team"
Filter by private/public team visibility.
false
Was this page helpful?