Platform / Webhooks
Update a webhook
patch/v2/oauth-clients/{clientId}/webhooks/{webhookId}
Path parameters
webhookIdstring required
Headers
x-cal-secret-keystring required
OAuth client secret key
Request body
Example request
{
"payloadTemplate": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
}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}}\"}"
}
}