# Resume a paused webhook endpoint

> Resume a paused webhook endpoint: CustomDomain™ API reference in the webhooks group. Covers request parameters, the request body, responses and error codes.

Source: https://docs.customdomain.ai/docs/api-reference/webhooks/resumeWebhook

## `POST https://api.customdomain.ai/v1/webhooks/{id}/resume`

Resumes a webhook endpoint that was paused, and sends the events that waited. An endpoint that is not paused is left as it is. An id that is not the caller's answers 404. A delegated agent token needs `app:write`.

### Authentication

`widgetJWT`, `apiKey`, `agentToken`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes |  |

### Responses

| Status | Description |
| --- | --- |
| `200` | The endpoint |
| `401` | Error envelope: {code, title, details, request_id}. |
| `403` | Error envelope: {code, title, details, request_id}. |
| `404` | Error envelope: {code, title, details, request_id}. |
| `503` | Error envelope: {code, title, details, request_id}. |

### `200` response body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes |  |
| `application_id` | string | no |  |
| `url` | string | yes |  |
| `events` | array of string | no |  |
| `secret` | string or null | no | Present ONLY in the creation response (whsec_…). Deliveries are signed with it: each POST carries CustomDomain-Timestamp (unix seconds) and CustomDomain-Signature (sha256=hex of HMAC-SHA256 over "<timestamp>.<rawBody>"). Reject deliveries whose timestamp is outside a ~5-minute window. X-JE-Timestamp and X-JE-Signature carry the same values for now. |
| `previous_secret_expires_at` | string or null | no | Set while a rotation's overlap window is open: when the previous secret stops signing. |
| `paused_at` | string or null | no | Set while the endpoint is paused. |
| `created_at` | string | no |  |

The full specification is served at `GET https://api.customdomain.ai/v1/openapi.json`.
