curl --request GET \
--url https://api.cal.com/v2/events/{uuid}/sessions \
--header 'Authorization: <authorization>'import requests
url = "https://api.cal.com/v2/events/{uuid}/sessions"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.cal.com/v2/events/{uuid}/sessions', 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.com/v2/events/{uuid}/sessions",
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: <authorization>"
],
]);
$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.com/v2/events/{uuid}/sessions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
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.com/v2/events/{uuid}/sessions")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.com/v2/events/{uuid}/sessions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startTime": "2030-01-08T17:00:00.000Z",
"endTime": "2030-01-08T19:00:00.000Z",
"timeZone": "Europe/Berlin",
"status": "draft",
"setUp": {
"status": "not_started",
"issue": "calendar_failed"
},
"guests": {
"going": 12,
"waitlisted": 3,
"pending": 1
},
"bookingUid": "<string>",
"cancellationReason": "<string>"
}
],
"pagination": {
"nextCursor": "eyJ2IjoyLCJzdGFydFRpbWUiOiIyMDMwLTAxLTAxVDAwOjAwOjAwLjAwMFoiLCJldmVudFR5cGVVdWlkIjoiMDE4ZjRjMmUtM2YxYS03YWJjLTlkZWYtMDEyMzQ1Njc4OWFiIn0",
"hasMore": true
}
}List a series' sessions
Returns every session of the series, cancelled ones included, earliest first. Each session carries its status, the set-up state of its calendar events and meeting link (setUp), and its guest counts.
Cursor-based pagination: pass pagination.nextCursor from a previous response as the cursor query parameter to fetch the next page; omit cursor for the first page. pagination.hasMore is false and pagination.nextCursor is null on the last page.
A series is an Event with several dated sessions. A single Event has no sessions, so this endpoint answers 400 for one. Series must be enabled on the instance (cal-events-series in EXPERIMENTAL_FEATURES); otherwise this endpoint answers 400.
The authenticated user must be the series’ owner, one of its hosts, an accepted co-host, or a member of the owning team. A caller who cannot read the series gets 404, exactly like an unknown uuid.
PBAC permission for team events: calEvent.read. Learn more about API access control at https://cal.com/docs/api-reference/v2/access-control.
If accessed using an OAuth access token, the EVENT_READ scope is required.
curl --request GET \
--url https://api.cal.com/v2/events/{uuid}/sessions \
--header 'Authorization: <authorization>'import requests
url = "https://api.cal.com/v2/events/{uuid}/sessions"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.cal.com/v2/events/{uuid}/sessions', 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.com/v2/events/{uuid}/sessions",
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: <authorization>"
],
]);
$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.com/v2/events/{uuid}/sessions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
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.com/v2/events/{uuid}/sessions")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.com/v2/events/{uuid}/sessions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startTime": "2030-01-08T17:00:00.000Z",
"endTime": "2030-01-08T19:00:00.000Z",
"timeZone": "Europe/Berlin",
"status": "draft",
"setUp": {
"status": "not_started",
"issue": "calendar_failed"
},
"guests": {
"going": 12,
"waitlisted": 3,
"pending": 1
},
"bookingUid": "<string>",
"cancellationReason": "<string>"
}
],
"pagination": {
"nextCursor": "eyJ2IjoyLCJzdGFydFRpbWUiOiIyMDMwLTAxLTAxVDAwOjAwOjAwLjAwMFoiLCJldmVudFR5cGVVdWlkIjoiMDE4ZjRjMmUtM2YxYS03YWJjLTlkZWYtMDEyMzQ1Njc4OWFiIn0",
"hasMore": true
}
}Headers
Path Parameters
Query Parameters
Was this page helpful?