POST
/
v2
/
organizations
/
{orgId}
/
organizations
curl --request POST \
  --url https://api.cal.com/v2/organizations/{orgId}/organizations \
  --header 'Content-Type: application/json' \
  --data '{
  "apiKeyDaysValid": 60,
  "apiKeyNeverExpires": true,
  "name": "CalTeam",
  "slug": "cal-tel",
  "metadata": {
    "key": "value"
  }
}'
{
  "status": "success",
  "data": {
    "id": 123,
    "name": "<string>",
    "slug": "<string>",
    "metadata": {
      "key": "value"
    },
    "apiKey": "<string>"
  }
}

Headers

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

Response

201 - application/json

The response is of type object.