POST
/
v2
/
organizations
/
{orgId}
/
delegation-credentials
Save delegation credentials for your organization
curl --request POST \
  --url https://api.cal.com/v2/organizations/{orgId}/delegation-credentials \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "status": "success",
  "data": {
    "id": "<string>",
    "enabled": true,
    "domain": "<string>",
    "organizationId": 123,
    "workspacePlatform": {
      "name": "<string>",
      "slug": "<string>"
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Headers

Authorization
string

For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_

x-cal-secret-key
string

For platform customers - OAuth client secret key

x-cal-client-id
string

For platform customers - OAuth client ID

Path Parameters

orgId
number
required

Body

application/json · object

Response

201 - application/json

The response is of type object.