curl --request POST \
--url https://api.cal.com/v2/selected-calendars \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"integration": "<string>",
"externalId": "<string>",
"credentialId": 123,
"delegationCredentialId": "<string>"
}'
{
"status": "success",
"data": {
"userId": 123,
"integration": "<string>",
"externalId": "<string>",
"credentialId": 123
}
}
curl --request POST \
--url https://api.cal.com/v2/selected-calendars \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"integration": "<string>",
"externalId": "<string>",
"credentialId": 123,
"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 response is of type object
.
Was this page helpful?