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>"
}'
Numeric ID of the webhook to edit
Your API key
Edit an existing webhook
The body is of type object
.
OK, webhook edited successfully
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>"
}'
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>"
}'
Numeric ID of the webhook to edit
Your API key
Edit an existing webhook
The body is of type object
.
OK, webhook edited successfully
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>"
}'