curl --request PUT \
--url https://api.cal.com/v2/destination-calendars \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"integration": "apple_calendar",
"externalId": "https://caldav.icloud.com/26962146906/calendars/1644422A-1945-4438-BBC0-4F0Q23A57R7S/",
"delegationCredentialId": "<string>"
}
'{
"status": "success",
"data": {
"userId": 123,
"integration": "<string>",
"externalId": "<string>",
"credentialId": 123
}
}curl --request PUT \
--url https://api.cal.com/v2/destination-calendars \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"integration": "apple_calendar",
"externalId": "https://caldav.icloud.com/26962146906/calendars/1644422A-1945-4438-BBC0-4F0Q23A57R7S/",
"delegationCredentialId": "<string>"
}
'{
"status": "success",
"data": {
"userId": 123,
"integration": "<string>",
"externalId": "<string>",
"credentialId": 123
}
}value must be Bearer <token> where <token> is api key prefixed with cal_ or managed user access token
The calendar service you want to integrate, as returned by the /calendars endpoint
apple_calendar, google_calendar, office365_calendar "apple_calendar"
Unique identifier used to represent the specific calendar, as returned by the /calendars endpoint
"https://caldav.icloud.com/26962146906/calendars/1644422A-1945-4438-BBC0-4F0Q23A57R7S/"
Was this page helpful?