PATCH
/webhooks/{webhook_id}Update an existing webhookParameters
webhook_idstring · uuidpathrequiredThe Webhook ID.
Request body
application/json
objectUpdateWebhookRequest
endpointstringThe URL where webhook events will be sent.
eventsarray of stringArray of event types to subscribe to.
Show child attributes
statusstringThe status of the webhook.
{
"endpoint": "https://webhook.example.com/new-handler",
"events": [
"email.sent",
"email.delivered"
],
"status": "enabled"
}Responses
objectUpdateWebhookResponse
idstring · uuidThe ID of the updated webhook.
objectstringThe type of object.
{
"id": "479e3145-dd38-476b-932c-529ceb705947",
"object": "webhook"
}