Re-enable a webhook endpoint
POST/organization/webhooks/{webhook_id}/enable
Turns a disabled endpoint back on and resets its failure count. Events that matched while it was off are queued from its watermark, so none are lost (at most 500 per run). Deliveries that already failed stay failed: replay them. Enabling an active endpoint only resets its failure count.
- Authentication
- Send an admin key (dk_admin_…) as a Bearer token. Data keys are refused here.
- Scope
organization- Cost
- Free
Parameters
| Name | Description |
|---|---|
webhook_idrequiredType: string · path | |
Idempotency-KeyType: string · header | A unique string (a UUID is ideal) making this call safe to retry. The same key with the same body replays the first response and sets |
Response
The data field is an object with these fields.
| Name | Description |
|---|---|
idrequiredType: string | |
urlrequiredType: string | |
event_typesrequiredType: string[] | |
filtersrequiredType: object | |
descriptionrequiredType: string | null | |
statusrequiredType: string | One of: |
disabled_reasonrequiredType: string | null |
|
consecutive_failuresrequiredType: integer | |
created_atrequiredType: string (date-time) | ISO 8601 time |
Related endpoints
- Get your organization
GET /organization - List data keys
GET /organization/keys - Create a data key
POST /organization/keys - Revoke a key
POST /organization/keys/{key_id}/revoke - List projects
GET /organization/projects - Daily usage
GET /organization/usage - List members and invitations
GET /organization/members - List audit events
GET /organization/audit-events - List request logs
GET /organization/request-logs - Create a webhook endpoint
POST /organization/webhooks - List webhook endpoints
GET /organization/webhooks - Update a webhook endpoint
POST /organization/webhooks/{webhook_id}/update - Rotate a webhook signing secret
POST /organization/webhooks/{webhook_id}/rotate-secret - Delete a webhook endpoint
POST /organization/webhooks/{webhook_id}/delete - List deliveries
GET /organization/webhooks/{webhook_id}/deliveries - Replay a delivery
POST /organization/webhooks/{webhook_id}/deliveries/{delivery_id}/replay