Update a webhook
Update a webhook
PUT/webhooks/:webhookId
Update a webhook
- This endpoint allows you to update an existing webhook. - The
body
property is an optional string that uses the 'mustache' template syntax. If provided, it will be used to format the webhook payload according to the specified template. For example, when integrating with Microsoft Teams, thebody
must follow the structure required by Teams' webhook format. If thebody
property is not provided, the webhook will send the full event data as a JSON object. - When using thebody
property, only the following data fields are supported for interpolation:{{id}}
: The unique identifier of the event.{{name}}
: The name associated with the event.{{event}}
: The type of event being triggered.{{date}}
: The date and time when the event occurred.
Request
Responses
- 200
- 400
- 404
Webhook updated successfully
Bad Request
Not Found