Update a webhook
Webhook
Update a webhook
Update webhook by id
PATCH
Update a webhook
Authorizations
Use the Authorization header with Bearer scheme.
Examples:
- API Key: Authorization: Bearer calid_xxxxx
Path Parameters
Webhook identifier.
Minimum string length:
1Example:
"2f33b5cd-8ec7-4eb0-91fd-9488c30f4744"
Body
application/json
Optional custom payload template delivered to the subscriber.
Example:
"{\"event\":\"BOOKING_CREATED\",\"bookingId\":\"bk_123\"}"
Webhook events that should trigger delivery.
Available options:
BOOKING_CREATED, BOOKING_PAYMENT_INITIATED, BOOKING_PAID, BOOKING_RESCHEDULED, BOOKING_REQUESTED, BOOKING_CANCELLED, BOOKING_REJECTED, BOOKING_NO_SHOW_UPDATED, FORM_SUBMITTED, OOO_CREATED Example:
Destination URL that receives webhook requests.
Example:
"https://example.com/webhooks/calid"
Whether this webhook is currently enabled.
Example:
true
Optional shared secret used to sign webhook payloads.
Example:
"whsec_1234567890"