Enable or disable an integration webhook endpoint
Requires current application authority. Enabling requires successful key verification. Disablement atomically suppresses queued deliveries and fences claimed attempts; an HTTP request already in progress cannot be recalled. Re-enabling permits new events without replaying suppressed deliveries. Repeating the same status returns the current endpoint. Retirement remains terminal. Signing secrets are never returned.
Path Parameters
- Type: stringendpoint
Id required
Body
required
application/json
- Type: "enabled" or "disabled"enumstatusrequired
Responses
- application/json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
Request Example for patch/v1/webhook-endpoints/{endpointId}
curl 'https://api.dev.eno.health/v1/webhook-endpoints/{endpointId}' \
--request PATCH \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"status": "enabled"
}'
{
"id": "string",
"url": "https://example.com",
"eventTypes": [
"document.processed"
],
"status": "disabled",
"verificationStatus": "unverified",
"revision": 1,
"createdAt": "2026-11-16T18:04:16.341Z",
"updatedAt": "2026-11-16T18:04:16.341Z"
}