curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId} \
--header 'cal-api-version: <cal-api-version>'{
"status": "success",
"data": {
"linkId": "abc123def456",
"eventTypeId": 123,
"isExpired": false,
"bookingUrl": "https://cal.com/d/abc123def456",
"expiresAt": "2025-12-31T23:59:59.000Z"
}
}curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId} \
--header 'cal-api-version: <cal-api-version>'{
"status": "success",
"data": {
"linkId": "abc123def456",
"eventTypeId": 123,
"isExpired": false,
"bookingUrl": "https://cal.com/d/abc123def456",
"expiresAt": "2025-12-31T23:59:59.000Z"
}
}Must be set to 2024-09-04. Returns the full booking URL including org slug and event slug.
For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_
For platform customers - OAuth client secret key
For platform customers - OAuth client ID
Was this page helpful?