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 Overview and authentication.
Endpoint
POST /webhook_endpoints/{id}/enable
Path parameters
| Field | Required | Type | Description |
|---|---|---|---|
id | Yes | string | Webhook ID, format wep_<ULID> |
Request example
Response example
Response fields
| Field | Type | Description |
|---|---|---|
id | string | Webhook ID |
description | string | null | Description |
url | string | Callback URL |
events | array<string> | Subscribed named event types |
status | string | Always ACTIVE after this operation |
disabled_reason | string | null | Always null after this operation |
consecutive_fail | integer | Current consecutive failure count at the time of enable |
last_success_at | string | null | Last successful delivery time at the time of enable |
last_failure_at | string | null | Last failed delivery time at the time of enable |
created_at | string | Creation time, ISO 8601 |
updated_at | string | Last update time, ISO 8601 |
request_id | string | Unique request identifier |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 404 | 11800001 | Webhook not found or already deleted |