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>"
}
}
Requires the user to have at least the ‘ORG_ADMIN’ role within the organization. Additionally, for platform, the plan must be ‘SCALE’ or higher to access this endpoint.
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>"
}
}
For platform customers - OAuth client secret key
For platform customers - OAuth client ID
The response is of type object
.