POST
/
v2
/
oauth-clients
curl --request POST \
  --url https://api.cal.com/v2/oauth-clients \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "logo": "<string>",
  "name": "<string>",
  "redirectUris": [
    "<string>"
  ],
  "permissions": [
    "EVENT_TYPE_READ"
  ],
  "bookingRedirectUri": "<string>",
  "bookingCancelRedirectUri": "<string>",
  "bookingRescheduleRedirectUri": "<string>",
  "areEmailsEnabled": true,
  "areDefaultEventTypesEnabled": false
}'
{
  "status": "success",
  "data": {
    "clientId": "clsx38nbl0001vkhlwin9fmt0",
    "clientSecret": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoib2F1dGgtY2xpZW50Iiwi"
  }
}

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_

Body

application/json

Response

201 - application/json
Create an OAuth client

The response is of type object.