cURL
curl --request GET \
--url https://api.teamfollowup.ai/api/native-calendar/calendars/{calendarId} \
--header 'Authorization: Bearer YOUR_API_KEY'import requests
url = "https://api.teamfollowup.ai/api/native-calendar/calendars/{calendarId}"
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/calendars/{calendarId}', 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/calendars/{calendarId}",
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/calendars/{calendarId}"
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/calendars/{calendarId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teamfollowup.ai/api/native-calendar/calendars/{calendarId}")
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": "cal_6b1f2a7c90",
"locationId": "nat_fd9e2a8dd4be4396b604",
"name": "Consultations",
"timezone": "America/Chicago",
"weeklyHours": {
"mon": [
{
"start": "09:00",
"end": "12:00"
},
{
"start": "13:00",
"end": "17:00"
}
],
"tue": [
{
"start": "09:00",
"end": "17:00"
}
],
"wed": [
{
"start": "09:00",
"end": "17:00"
}
],
"thu": [
{
"start": "09:00",
"end": "17:00"
}
],
"fri": [
{
"start": "09:00",
"end": "15:00"
}
]
},
"dateOverrides": [
{
"date": "2026-12-25",
"closed": true
}
],
"slotDurationMinutes": 30,
"slotIntervalMinutes": 30,
"slotBufferMinutes": 0,
"appointmentsPerSlot": 1,
"minNoticeMinutes": 180,
"maxDaysOut": 31,
"isActive": true,
"createdAt": "2026-08-03T11:00:00.000Z",
"updatedAt": "2026-09-14T08:30:00.000Z"
}
}{
"success": false,
"error": "timezone is required"
}{
"success": false,
"error": "Unauthorized"
}{
"success": false,
"error": "calendar does not belong to this project"
}{
"success": false,
"error": "calendar not found"
}{
"success": false,
"error": "TooManyRequests"
}{
"success": false,
"error": "Calendar request failed."
}{
"success": false,
"error": "Calendar service is unreachable."
}Get a calendar
One calendar, with its hours and its slot rules as the engine reads them.
Required API key scope: projects:read.
GET
/
api
/
native-calendar
/
calendars
/
{calendarId}
cURL
curl --request GET \
--url https://api.teamfollowup.ai/api/native-calendar/calendars/{calendarId} \
--header 'Authorization: Bearer YOUR_API_KEY'import requests
url = "https://api.teamfollowup.ai/api/native-calendar/calendars/{calendarId}"
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/calendars/{calendarId}', 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/calendars/{calendarId}",
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/calendars/{calendarId}"
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/calendars/{calendarId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teamfollowup.ai/api/native-calendar/calendars/{calendarId}")
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": "cal_6b1f2a7c90",
"locationId": "nat_fd9e2a8dd4be4396b604",
"name": "Consultations",
"timezone": "America/Chicago",
"weeklyHours": {
"mon": [
{
"start": "09:00",
"end": "12:00"
},
{
"start": "13:00",
"end": "17:00"
}
],
"tue": [
{
"start": "09:00",
"end": "17:00"
}
],
"wed": [
{
"start": "09:00",
"end": "17:00"
}
],
"thu": [
{
"start": "09:00",
"end": "17:00"
}
],
"fri": [
{
"start": "09:00",
"end": "15:00"
}
]
},
"dateOverrides": [
{
"date": "2026-12-25",
"closed": true
}
],
"slotDurationMinutes": 30,
"slotIntervalMinutes": 30,
"slotBufferMinutes": 0,
"appointmentsPerSlot": 1,
"minNoticeMinutes": 180,
"maxDaysOut": 31,
"isActive": true,
"createdAt": "2026-08-03T11:00:00.000Z",
"updatedAt": "2026-09-14T08:30:00.000Z"
}
}{
"success": false,
"error": "timezone is required"
}{
"success": false,
"error": "Unauthorized"
}{
"success": false,
"error": "calendar does not belong to this project"
}{
"success": false,
"error": "calendar not found"
}{
"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.
Path Parameters
The calendar id.
Minimum string length:
1Query 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.
⌘I
