## Update a webhook endpoint

**patch** `/v1/webhook_endpoints/{wh}`

Change the URL, the subscribed events, the label, or whether it is delivering. Omitted fields are left alone.

### Path Parameters

- `wh: string`

### Body Parameters

- `description: optional string`

- `disabled: optional boolean`

  `true` stops deliveries without deleting the endpoint; `false` resumes them.

- `enabled_events: optional array of string`

- `url: optional string`

### Returns

- `WebhookEndpoint object { id, created_at, description, 3 more }`

  A URL your brand receives signed events on.

  - `id: string`

    `wh_…`.

  - `created_at: string`

  - `description: string`

    Your own label. Free text, ≤200 bytes, never interpreted.

  - `enabled_events: array of string`

    The event types this endpoint receives. Exact names: no wildcards.

  - `status: "enabled" or "disabled"`

    `enabled` while it receives deliveries, `disabled` once you turn it off.
    A disabled endpoint keeps its secret and its history and resumes on
    `PATCH {"disabled": false}`.

    - `"enabled"`

    - `"disabled"`

  - `url: string`

    Absolute `https` URL every delivery for this endpoint is POSTed to.

### Example

```http
curl https://messages.api.linqapp.com/v1/webhook_endpoints/$WH \
    -X PATCH \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $LINQ_AMB_API_KEY" \
    -d '{}'
```

#### Response

```json
{
  "id": "wh_7f3a1c9e",
  "url": "https://hooks.example.com/messages",
  "description": "production receiver",
  "enabled_events": [
    "message.received",
    "message.failed"
  ],
  "status": "enabled",
  "created_at": "2026-08-13T02:41:09Z"
}
```
