curl --request GET \
--url https://api.cal.id/slots/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cal.id/slots/"
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/slots/', 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/slots/",
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/slots/"
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/slots/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.id/slots/")
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": {
"slots": {
"2026-05-04": [
{
"time": "2026-05-04T09:00:00.000Z"
},
{
"time": "2026-05-04T09:30:00.000Z"
},
{
"time": "2026-05-04T14:00:00.000Z"
}
],
"2026-05-05": [
{
"time": "2026-05-05T11:00:00.000Z"
},
{
"time": "2026-05-05T11:30:00.000Z"
}
]
}
},
"message": "Slots 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": "<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>"
}
}Get available slots
Returns the times a booker can actually pick for an event type over a window. Pass start and end (both required) plus an event identity — either eventTypeId, or eventTypeSlug with owner context such as <username>/<slug>, team/<teamSlug>/<slug> or a usernameList; a request with no event identity returns 400. The payload is data.slots, an object keyed by date ("2026-05-04") whose values are arrays of { "time": ... }. Slots already account for schedules, buffers, minimum notice and existing bookings, so only times returned here are bookable — posting anything else to POST /booking/ fails.
curl --request GET \
--url https://api.cal.id/slots/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cal.id/slots/"
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/slots/', 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/slots/",
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/slots/"
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/slots/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.id/slots/")
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": {
"slots": {
"2026-05-04": [
{
"time": "2026-05-04T09:00:00.000Z"
},
{
"time": "2026-05-04T09:30:00.000Z"
},
{
"time": "2026-05-04T14:00:00.000Z"
}
],
"2026-05-05": [
{
"time": "2026-05-05T11:00:00.000Z"
},
{
"time": "2026-05-05T11:30:00.000Z"
}
]
}
},
"message": "Slots 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": "<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
Event type ID to fetch availability for. Required unless eventTypeSlug includes owner context (<username>/<slug> or team/<teamSlug>/<slug>) or is paired with usernameList.
^[1-9]\d*$"123"
Event type slug used for slug-based slot lookup. Supports values like discovery-call-30 or <username>/<slug> and team/<teamSlug>/<slug>.
"discovery-call-30"
One or more usernames for slug-based lookup. A single username value is also accepted and normalized to an array.
["john-doe"]
Availability window start timestamp.
1"2026-05-01T00:00:00.000Z"
Availability window end timestamp.
1"2026-05-07T23:59:59.000Z"
IANA timezone used to return slots.
"Asia/Kolkata"
Optional slot duration in minutes.
x >= 130
Slot format preference.
time, range "time"
Booking UID being rescheduled, used to include the original booking slot in availability.
"2f33b5cd-8ec7-4eb0-91fd-9488c30f4744"
Whether lookup should be treated as a team event flow.
false
Was this page helpful?