Webhooks
Update a webhook
patch/v2/webhooks/{webhookId}
Path parameters
webhookIdstring required
Headers
Authorizationstring required
value must be Bearer <token> where <token> is api key prefixed with cal_
Request body
Example request
{
"payloadTemplate": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}",
"version": "2021-10-20"
}Response
Example response
{
"status": "success",
"data": {
"payloadTemplate": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
}
}