PATCH
/
webhooks
/
{id}
curl --request PATCH \
  --url https://api.cal.com/v1/webhooks/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "subscriberUrl": "<string>",
  "eventTriggers": "BOOKING_CREATED",
  "active": true,
  "payloadTemplate": "<string>",
  "eventTypeId": 123,
  "secret": "<string>"
}'

Authorizations

apiKey
string
query
required

Path Parameters

id
integer
required

Numeric ID of the webhook to edit

Query Parameters

apiKey
string
required

Your API key

Body

application/json
Edit an existing webhook

The body is of type object.

Response

201

OK, webhook edited successfully