List Cal.com Event Types
curl --request GET \
--url https://api.ravan.ai/api/v1/calcom/event-types \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ravan.ai/api/v1/calcom/event-types"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ravan.ai/api/v1/calcom/event-types', 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.ravan.ai/api/v1/calcom/event-types",
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.ravan.ai/api/v1/calcom/event-types"
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.ravan.ai/api/v1/calcom/event-types")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ravan.ai/api/v1/calcom/event-types")
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": <boolean>,
"message": "Event types retrieved",
"data": [
{
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"duration_minutes": <integer>,
"price": <number>,
"currency": "<string>",
"is_active": <boolean>,
"calcom_account_id": "<string>",
"account_name": "<string>"
}
]
}
Cal.com Integration API
List Cal.com Event Types
Lists event types fetched live from Cal.com across all connected org-level accounts, or one account if account_id is provided.
GET
/
api
/
v1
/
calcom
/
event-types
List Cal.com Event Types
curl --request GET \
--url https://api.ravan.ai/api/v1/calcom/event-types \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ravan.ai/api/v1/calcom/event-types"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ravan.ai/api/v1/calcom/event-types', 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.ravan.ai/api/v1/calcom/event-types",
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.ravan.ai/api/v1/calcom/event-types"
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.ravan.ai/api/v1/calcom/event-types")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ravan.ai/api/v1/calcom/event-types")
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": <boolean>,
"message": "Event types retrieved",
"data": [
{
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"duration_minutes": <integer>,
"price": <number>,
"currency": "<string>",
"is_active": <boolean>,
"calcom_account_id": "<string>",
"account_name": "<string>"
}
]
}
Authorizations
string
required
Your JWT access token. Pass it as a Bearer token in the
Authorization header. Example: Authorization: Bearer <token>.Query Parameters
string
required
The organization ID whose connected Cal.com event types you want to fetch.
string
Restricts results to one connected Cal.com account. The account must belong to the same organization.
Response
boolean
Whether the request succeeded.
string
Human-readable status message.
array
Array of Cal.com event types.
Show data[]
Show data[]
string
Event type ID from Cal.com.
string
Event type slug.
string
Event type title suffixed with the owning account name.
string
Event type description.
integer
Duration in minutes.
number
Event type price.
string
Currency code.
boolean
Whether the event type is active.
string
Owning Cal.com account ID.
string
Owning Cal.com account name.
{
"success": <boolean>,
"message": "Event types retrieved",
"data": [
{
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"duration_minutes": <integer>,
"price": <number>,
"currency": "<string>",
"is_active": <boolean>,
"calcom_account_id": "<string>",
"account_name": "<string>"
}
]
}
{
"success": false,
"message": "<string>",
"code": "INVALID_REQUEST"
}
{
"success": false,
"message": "<string>",
"code": "NOT_CONNECTED"
}
{
"success": false,
"message": "<string>"
}
{
"success": false,
"message": "<string>",
"code": "NOT_FOUND"
}
{
"success": false,
"message": "<string>",
"code": "INTERNAL_ERROR"
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Organization ID
Restrict to one Cal.com account belonging to the org

