curl --request GET \
--url https://api.cal.id/availability/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cal.id/availability/"
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/availability/', 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/availability/",
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/availability/"
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/availability/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.id/availability/")
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": {
"busy": [
{
"start": "Mon, 04 May 2026 10:00:00 GMT",
"end": "Mon, 04 May 2026 10:30:00 GMT",
"title": "Weekly sync",
"source": "Google Calendar"
}
],
"timeZone": "Europe/London",
"dateRanges": [
{
"start": "Mon, 04 May 2026 09:00:00 GMT",
"end": "Mon, 04 May 2026 10:00:00 GMT"
},
{
"start": "Mon, 04 May 2026 10:30:00 GMT",
"end": "Mon, 04 May 2026 17:00:00 GMT"
}
],
"oooExcludedDateRanges": [
{
"start": "Mon, 04 May 2026 09:00:00 GMT",
"end": "Mon, 04 May 2026 17:00:00 GMT"
}
],
"workingHours": [
{
"days": [
1,
2,
3,
4,
5
],
"startTime": 540,
"endTime": 1020,
"userId": 4021
}
],
"dateOverrides": [],
"currentSeats": null,
"datesOutOfOffice": {}
},
"message": "Availability retrieved"
}{
"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."
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}List availabilities
Computes the authenticated user’s real availability for a window, merging their schedules, connected-calendar busy blocks and out-of-office entries. Both dateFrom and dateTo are required; omitting dateFrom returns 400. You get busy intervals, free dateRanges, workingHours, dateOverrides and datesOutOfOffice. Note the timestamps in this response are RFC-1123 strings (Mon, 04 May 2026 09:00:00 GMT), unlike the ISO-8601 used everywhere else in the API. For times a booker can actually pick, use GET /slots/ — this endpoint is raw availability, not bookable slots.
curl --request GET \
--url https://api.cal.id/availability/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cal.id/availability/"
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/availability/', 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/availability/",
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/availability/"
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/availability/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.id/availability/")
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": {
"busy": [
{
"start": "Mon, 04 May 2026 10:00:00 GMT",
"end": "Mon, 04 May 2026 10:30:00 GMT",
"title": "Weekly sync",
"source": "Google Calendar"
}
],
"timeZone": "Europe/London",
"dateRanges": [
{
"start": "Mon, 04 May 2026 09:00:00 GMT",
"end": "Mon, 04 May 2026 10:00:00 GMT"
},
{
"start": "Mon, 04 May 2026 10:30:00 GMT",
"end": "Mon, 04 May 2026 17:00:00 GMT"
}
],
"oooExcludedDateRanges": [
{
"start": "Mon, 04 May 2026 09:00:00 GMT",
"end": "Mon, 04 May 2026 17:00:00 GMT"
}
],
"workingHours": [
{
"days": [
1,
2,
3,
4,
5
],
"startTime": 540,
"endTime": 1020,
"userId": 4021
}
],
"dateOverrides": [],
"currentSeats": null,
"datesOutOfOffice": {}
},
"message": "Availability retrieved"
}{
"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."
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
Use the Authorization header with Bearer scheme.
Examples:
- API Key: Authorization: Bearer calid_xxxxx
Query Parameters
Availability window start timestamp (ISO-8601).
1"2026-05-01T00:00:00.000Z"
Availability window end timestamp (ISO-8601).
1"2026-05-07T23:59:59.000Z"
Optional event type identifier to scope returned availability.
x > 1123
Was this page helpful?