Webhooks
Delete a webhook
Deletes an endpoint and stops new event fan-out. Retained delivery logs remain available until their retention period ends.
Authorization
bearerAuth AuthorizationBearer <token>
PostZen API key.
In: header
Path Parameters
webhookId*string
PostZen webhook endpoint id.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/webhooks/string"{ "message": "string"}{ "error": "Unauthorized"}{ "error": "API key requires read_write permission"}{ "error": "Not found"}{ "error": "Failed to create post"}Update a webhook PUT
Updates one or more endpoint settings. Omitted fields are unchanged. This endpoint requires a read-write API key.
Test a webhook POST
Queues a `webhook.test` event through the normal delivery pipeline using the endpoint's current URL, secret, and custom headers. The endpoint must be active.