cURL
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 } }
If accessed using an OAuth access token, the APPS_WRITE scope is required.
APPS_WRITE
value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token
Bearer <token>
<token>
success
error
"success"
Show child attributes
Was this page helpful?