API referenceWebhook endpoints
Delete a webhook endpoint
Deletes the endpoint. Pending deliveries are dropped.
Scope: webhooks:manage.
Authorization
bearerAuth AuthorizationBearer <token>
A Platform API token, wyc_live_... or wyc_test_..., created at Settings > API tokens in the dashboard.
In: header
Path Parameters
id*string
Id of the webhook endpoint.
Match
^whe_[A-Za-z0-9]{24}$Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/webhook-endpoints/string"Empty
Update a webhook endpoint PATCH
Changes the URL, events, description or status. Setting `status` to `enabled` re-enables an endpoint the Platform disabled after failed deliveries. Scope: `webhooks:manage`.
Roll the signing secret POST
Generates a new signing secret and returns it once. The old secret keeps working for 24 hours, so you can switch without missing events. Scope: `webhooks:manage`.