cURL
curl --request GET \
--url https://api.teamfollowup.ai/api/native-calendar/appointments/range \
--header 'Authorization: Bearer YOUR_API_KEY'import requests
url = "https://api.teamfollowup.ai/api/native-calendar/appointments/range"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.teamfollowup.ai/api/native-calendar/appointments/range', 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.teamfollowup.ai/api/native-calendar/appointments/range",
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.teamfollowup.ai/api/native-calendar/appointments/range"
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.teamfollowup.ai/api/native-calendar/appointments/range")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teamfollowup.ai/api/native-calendar/appointments/range")
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": "apt_7d21c0f4a1",
"locationId": "nat_fd9e2a8dd4be4396b604",
"calendarId": "cal_6b1f2a7c90",
"calendarName": "Consultations",
"contactId": "nct_0123456789abcdef0123",
"contactName": "Ana Diaz",
"title": "Implant consultation",
"status": "confirmed",
"startTime": "2026-09-24T15:00:00.000Z",
"endTime": "2026-09-24T15:30:00.000Z",
"source": "call",
"createdAt": "2026-09-20T09:14:52.000Z"
}
]
}{
"success": false,
"error": "timezone is required"
}{
"success": false,
"error": "Unauthorized"
}{
"success": false,
"error": "calendar does not belong to this project"
}{
"success": false,
"error": "TooManyRequests"
}{
"success": false,
"error": "Calendar request failed."
}{
"success": false,
"error": "Calendar service is unreachable."
}List appointments in a window
What is booked between two times, which is how a diary view asks.
from and to are ISO instants. Narrow to one calendar with calendarId, or leave it off for the whole sub-account.
Entries with no contact are included: a meeting, a reminder, time held for something else. They hold a seat like any other booking.
Required API key scope: projects:read.
GET
/
api
/
native-calendar
/
appointments
/
range
cURL
curl --request GET \
--url https://api.teamfollowup.ai/api/native-calendar/appointments/range \
--header 'Authorization: Bearer YOUR_API_KEY'import requests
url = "https://api.teamfollowup.ai/api/native-calendar/appointments/range"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.teamfollowup.ai/api/native-calendar/appointments/range', 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.teamfollowup.ai/api/native-calendar/appointments/range",
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.teamfollowup.ai/api/native-calendar/appointments/range"
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.teamfollowup.ai/api/native-calendar/appointments/range")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teamfollowup.ai/api/native-calendar/appointments/range")
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": "apt_7d21c0f4a1",
"locationId": "nat_fd9e2a8dd4be4396b604",
"calendarId": "cal_6b1f2a7c90",
"calendarName": "Consultations",
"contactId": "nct_0123456789abcdef0123",
"contactName": "Ana Diaz",
"title": "Implant consultation",
"status": "confirmed",
"startTime": "2026-09-24T15:00:00.000Z",
"endTime": "2026-09-24T15:30:00.000Z",
"source": "call",
"createdAt": "2026-09-20T09:14:52.000Z"
}
]
}{
"success": false,
"error": "timezone is required"
}{
"success": false,
"error": "Unauthorized"
}{
"success": false,
"error": "calendar does not belong to this project"
}{
"success": false,
"error": "TooManyRequests"
}{
"success": false,
"error": "Calendar request failed."
}{
"success": false,
"error": "Calendar service is unreachable."
}Authorizations
Send your API key as Authorization: Bearer YOUR_API_KEY.
Query Parameters
The sub-account this calendar belongs to. It is the only thing that identifies the tenant here, and access is re-checked against it on every call.
Start of the window, ISO.
End of the window, ISO.
Narrow to one calendar.
Include cancelled appointments.
Available options:
true ⌘I
