Skip to main content

Re-enable Disabled Endpoint

POST/v1/webhook-endpoints/{id}/enable

Re-enable an endpoint that was disabled (DELETE).

Authentication

Send Authorization: Bearer <API_KEY> in the request headers. Which resources an API Key can reach is determined by its current authorization scope.

Request​

Base URL: https://api.bluehola.com

Parameters​

NameInRequiredType / constraintsDescription
idpathYesstringThe callback endpoint ID, whe_...

Response​

StatusDescription
201Created
4xxClient error

For the common error envelope and how to handle it, see Error Codes.

Notes​

Why this endpoint needs to exist​

DELETE {id} is a soft disable, while PATCH {id} only accepts url / events / metadata — before this endpoint existed, disabling was a one-way door: delivery stopped permanently, and the only way out was to delete and recreate, at the cost of a new endpoint id, lost delivery history, and the integration having to update its configuration. Meanwhile the rotate-secret documentation itself recommends "disable, then rotate" — anyone who follows that advice would otherwise turn their own endpoint into a brick.

Which state it returns to is decided by the platform, not the caller​

An endpoint that was already verified (verifiedAt is non-null) returns to active — it has already proven it controls that address, and disabling it does not undo that. An unverified endpoint on the connection protocol returns to pending and must go through ownership verification again: otherwise "create an endpoint pointing at someone else's server → disable → enable" would be a three-call way around verification, turning an anti-abuse mechanism into decoration. An endpoint created the old way (predating the verification flow, active from creation) returns to active, because it has no verification flow to go through — giving it pending would mean it can never deliver again.

Calling this on an endpoint that is already active or pending is idempotent: it returns to whatever state it should be in and clears disabledAt. The secret is not returned.