curl --request GET \
--url https://api.cal.com/v2/calendars \
--header 'Authorization: <authorization>'
{
"status": "success",
"data": {
"connectedCalendars": [
{
"integration": {
"appData": {},
"dirName": "<string>",
"__template": "<string>",
"name": "<string>",
"description": "<string>",
"installed": true,
"type": "<string>",
"title": "<string>",
"variant": "<string>",
"category": "<string>",
"categories": [
"<string>"
],
"logo": "<string>",
"publisher": "<string>",
"slug": "<string>",
"url": "<string>",
"email": "<string>",
"locationOption": {}
},
"credentialId": 123,
"delegationCredentialId": "<string>",
"primary": {
"externalId": "<string>",
"integration": "<string>",
"name": "<string>",
"primary": true,
"readOnly": true,
"email": "<string>",
"isSelected": true,
"credentialId": 123,
"delegationCredentialId": "<string>"
},
"calendars": [
{
"externalId": "<string>",
"integration": "<string>",
"name": "<string>",
"primary": true,
"readOnly": true,
"email": "<string>",
"isSelected": true,
"credentialId": 123,
"delegationCredentialId": "<string>"
}
]
}
],
"destinationCalendar": {
"id": {},
"integration": "<string>",
"externalId": "<string>",
"primaryEmail": "<string>",
"userId": 123,
"eventTypeId": 123,
"credentialId": 123,
"delegationCredentialId": "<string>",
"name": "<string>",
"primary": true,
"readOnly": true,
"email": "<string>",
"integrationTitle": "<string>"
}
}
}
curl --request GET \
--url https://api.cal.com/v2/calendars \
--header 'Authorization: <authorization>'
{
"status": "success",
"data": {
"connectedCalendars": [
{
"integration": {
"appData": {},
"dirName": "<string>",
"__template": "<string>",
"name": "<string>",
"description": "<string>",
"installed": true,
"type": "<string>",
"title": "<string>",
"variant": "<string>",
"category": "<string>",
"categories": [
"<string>"
],
"logo": "<string>",
"publisher": "<string>",
"slug": "<string>",
"url": "<string>",
"email": "<string>",
"locationOption": {}
},
"credentialId": 123,
"delegationCredentialId": "<string>",
"primary": {
"externalId": "<string>",
"integration": "<string>",
"name": "<string>",
"primary": true,
"readOnly": true,
"email": "<string>",
"isSelected": true,
"credentialId": 123,
"delegationCredentialId": "<string>"
},
"calendars": [
{
"externalId": "<string>",
"integration": "<string>",
"name": "<string>",
"primary": true,
"readOnly": true,
"email": "<string>",
"isSelected": true,
"credentialId": 123,
"delegationCredentialId": "<string>"
}
]
}
],
"destinationCalendar": {
"id": {},
"integration": "<string>",
"externalId": "<string>",
"primaryEmail": "<string>",
"userId": 123,
"eventTypeId": 123,
"credentialId": 123,
"delegationCredentialId": "<string>",
"name": "<string>",
"primary": true,
"readOnly": true,
"email": "<string>",
"integrationTitle": "<string>"
}
}
}
value must be Bearer <token>
where <token>
is api key prefixed with cal_ or managed user access token
The response is of type object
.
Was this page helpful?