Update a webhook
Changed onRequest
- The document declares no server URL.
- Auth: none declared. Required headers: Authorization
Path parameters
Headers
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}}\"}",
"triggers": [
"BOOKING_CREATED",
"BOOKING_RESCHEDULED",
"BOOKING_CANCELLED",
"BOOKING_CONFIRMED",
"BOOKING_REJECTED",
"BOOKING_COMPLETED",
"BOOKING_NO_SHOW",
"BOOKING_REOPENED"
],
"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}}\"}"
}
}Changes
- breaking
removed the enum value
ROUTING_FORM_FALLBACK_HITof the request property/ - info
removed the
ROUTING_FORM_FALLBACK_HITenum value from the//response property for the response status
- breaking
- breaking
removed the enum value
AFTER_GUESTS_CAL_VIDEO_NO_SHOWof the request property - breaking
removed the enum value
AFTER_HOSTS_CAL_VIDEO_NO_SHOWof the request property - breaking
removed the enum value
BOOKING_CANCELLEDof the request property - breaking
removed the enum value
BOOKING_CREATEDof the request property - breaking
removed the enum value
BOOKING_NO_SHOW_UPDATEDof the request property - breaking
removed the enum value
BOOKING_PAIDof the request property - breaking
removed the enum value
BOOKING_PAYMENT_INITIATEDof the request property - breaking
removed the enum value
BOOKING_REJECTEDof the request property - breaking
removed the enum value
BOOKING_REQUESTEDof the request property - breaking
removed the enum value
BOOKING_RESCHEDULEDof the request property - breaking
removed the enum value
DELEGATION_CREDENTIAL_ERRORof the request property - breaking
removed the enum value
FORM_SUBMITTEDof the request property - breaking
removed the enum value
FORM_SUBMITTED_NO_EVENTof the request property - breaking
removed the enum value
INSTANT_MEETINGof the request property - breaking
removed the enum value
MEETING_ENDEDof the request property - breaking
removed the enum value
MEETING_STARTEDof the request property - breaking
removed the enum value
OOO_CREATEDof the request property - breaking
removed the enum value
RECORDING_READYof the request property - breaking
removed the enum value
RECORDING_TRANSCRIPTION_GENERATEDof the request property - breaking
removed the enum value
WRONG_ASSIGNMENT_REPORTof the request property - breaking
the
request property type changed fromstringtoarray - breaking
the
//response's property type changed fromobjecttostringfor status - warning
added the new
AFTER_GUESTS_CAL_VIDEO_NO_SHOWenum value to the//response property for the response status - warning
added the new
AFTER_HOSTS_CAL_VIDEO_NO_SHOWenum value to the//response property for the response status - warning
added the new
BOOKING_CANCELLEDenum value to the//response property for the response status - warning
added the new
BOOKING_CREATEDenum value to the//response property for the response status - warning
added the new
BOOKING_NO_SHOW_UPDATEDenum value to the//response property for the response status - warning
added the new
BOOKING_PAIDenum value to the//response property for the response status - warning
added the new
BOOKING_PAYMENT_INITIATEDenum value to the//response property for the response status - warning
added the new
BOOKING_REJECTEDenum value to the//response property for the response status - warning
added the new
BOOKING_REQUESTEDenum value to the//response property for the response status - warning
added the new
BOOKING_RESCHEDULEDenum value to the//response property for the response status - warning
added the new
DELEGATION_CREDENTIAL_ERRORenum value to the//response property for the response status - warning
added the new
FORM_SUBMITTEDenum value to the//response property for the response status - warning
added the new
FORM_SUBMITTED_NO_EVENTenum value to the//response property for the response status - warning
added the new
INSTANT_MEETINGenum value to the//response property for the response status - warning
added the new
MEETING_ENDEDenum value to the//response property for the response status - warning
added the new
MEETING_STARTEDenum value to the//response property for the response status - warning
added the new
OOO_CREATEDenum value to the//response property for the response status - warning
added the new
RECORDING_READYenum value to the//response property for the response status - warning
added the new
RECORDING_TRANSCRIPTION_GENERATEDenum value to the//response property for the response status - warning
added the new
ROUTING_FORM_FALLBACK_HITenum value to the//response property for the response status - warning
added the new
WRONG_ASSIGNMENT_REPORTenum value to the//response property for the response status
- breaking