Enables a disabled Webhook. The request body is empty. Re-enabling does not redeliver events that occurred during the disabled period.
Prerequisites
Endpoint and authentication configured. For details, see API overview and authentication.
Endpoint
POST /webhook_endpoints/{id}/enable
Path parametersidstring (必选)Webhook ID, format wep_<ULID> | Request example |
Response fieldsidstring—description string | null—url string—events array<string>—status stringACTIVE after enablingdisabled_reason string | null—consecutive_fail integerCurrent value when the enable completeslast_success_at string | nullCurrent value when the enable completeslast_failure_at string | nullCurrent value when the enable completescreated_at string—updated_at string—request_id stringUnique identifier of this request; include it when troubleshooting issues | Response |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 404 | 11800001 | webhook not found |