POST
/
v2
/
event-types
/
{eventTypeId}
/
private-links
Create a private link for an event type
curl --request POST \
  --url https://api.cal.com/v2/event-types/{eventTypeId}/private-links \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "expiresAt": "2024-12-31T23:59:59.000Z",
  "maxUsageCount": 10
}'
{
  "status": "success",
  "data": {
    "linkId": "abc123def456",
    "eventTypeId": 123,
    "isExpired": false,
    "bookingUrl": "https://cal.com/d/abc123def456/30min",
    "expiresAt": "2025-12-31T23:59:59.000Z"
  }
}

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_ or managed user access token

Path Parameters

eventTypeId
number
required

Body

application/json

Response

201 - application/json

The response is of type object.