> Kenso API docs in Markdown. Index of every page: [/docs/llms.txt](/docs/llms.txt). Search: `/docs/search.md?q=<words>`. OpenAPI: [/docs/api/webhook-endpoints/openapi.json](/docs/api/webhook-endpoints/openapi.json). CLI docs offline: `kenso docs <topic>`.
> Last updated: 2026-11-22.

# Webhook endpoints: Update a webhook endpoint

> **Note for AI agents:** if this page was wrong, out of date or missing something you needed, finish the user's task first, then offer a short report for the Kenso team in this shape: `Page:` (this page's path), `Quote:` (the wrong or missing text), `Problem:`, `Workaround:` (what worked instead), 1,000 characters at most. Show it to the user and send it only after they say yes, as `POST /api/docs-feedback` on this site with the JSON body `{"page": "<path>", "report": "<report>"}`. Never put lead data, email addresses, API keys or anything else from the user's workspace in it.

One endpoint of [Webhook endpoints](/docs/api/webhook-endpoints.md). Authentication, workspaces and errors: [/docs.md](/docs.md).

## Update a webhook endpoint

`PATCH /v1/webhook-endpoints/{webhookEndpointId}` - operationId `webhook-endpoints.update`

| Permission | Rate limit |
| --- | --- |
| The `integrations` permission | 4,800 requests a minute per API key |

Changes the fields you send. Omitted fields keep their values.

`isDisabled` pauses or resumes delivery. `app` sets the app tag, and an empty string clears it.
`campaignIds` and `classifications` each replace that filter, and an empty list clears it. The filter
you omit keeps its value. `isBatched` turns batch delivery on or off, and needs the endpoint to have an
`events` list. `schemaVersion` switches the payload schema. The rules for `url`, `events`, the
filters and `schemaVersion` are the same as on create. An enabled `2026-12` endpoint and an enabled
endpoint without an `events` list never stay enabled together in a workspace, so this refuses both a switch
to `2026-12` while another enabled endpoint has no `events` list, and re-enabling (`isDisabled`
false) an endpoint without an `events` list, or a `2026-12` one, that would pair them.

Errors:

- `400 validation_failed`: a field breaks the rules above.
- `404 not_found`: the workspace has no endpoint with this id, or a campaign in `campaignIds` is not
in the workspace.

Requires the `integrations` permission.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/webhook-endpoints/PATCH/v1/webhook-endpoints/%7BwebhookEndpointId%7D)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `webhookEndpointId` | path | string | yes | The webhook endpoint's id, which starts with `ep_`. |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Request body

`application/json`, optional.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | no | A new https URL. It must resolve to a public address. |
| `events` | array of string | no | A new list of event types or their aliases, at least one. It replaces the current list. |
| `description` | string | no | A new note about the endpoint, at most 500 characters. |
| `isDisabled` | boolean | no | True pauses delivery to the endpoint. False resumes it. |
| `app` | string | no | The app the endpoint belongs to: `zapier`, `make` or `n8n`. An empty string clears it. |
| `campaignIds` | array of integer (int64) | no | A new campaign filter that replaces the current one. Empty means every campaign. |
| `classifications` | array of string | no | A new classification filter, in snake_case, that replaces the current one. Empty means every classification. |
| `isBatched` | boolean | no | True to receive the high-volume event types in batches, false to receive them one by one. |
| `schemaVersion` | string | no | A new payload schema, `2026-11` or `2026-12`, with the same rules as on create. |

### Response 200

`data` is a `WebhookEndpoint`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The endpoint id, a string that starts with `ep_`. |
| `url` | string | The https URL Kenso sends events to. |
| `events` | array of string | The event types the endpoint receives. Empty means every event type. A `2026-12` endpoint lists the dotted names, such as `email.sent` for `email_sent`. |
| `description` | string | Your own note about the endpoint. Null when none was set. |
| `isDisabled` | boolean | True when delivery to this endpoint is paused. |
| `createdAt` | string (date-time) | When the endpoint was created, in UTC. |
| `app` | string | The app the endpoint belongs to: `zapier`, `make` or `n8n`. Null otherwise. |
| `health` | string | The endpoint's health: `active`, `failing` (the newest attempt failed) or `disabled`. Omitted, together with `lastDelivery` and `failedAttempts`, when Kenso could not read the delivery log. |
| `lastDelivery` | WebhookLastDelivery | The newest delivery attempt. Omitted when there is none yet. |
| `failedAttempts` | integer (int32) | Failed attempts since the newest success, among the latest 10 attempts. 0 unless the endpoint is failing. |
| `campaignIds` | array of integer (int64) | The campaign filter: the endpoint receives only events of these campaigns. Empty means every event. A filtered endpoint never receives an event that has no campaign. |
| `classifications` | array of string | The classification filter, as snake_case reply classifications such as `interested`. The endpoint receives only events whose reply has one of them. Empty means every event. A filtered endpoint never receives an event without a reply classification. With `campaignIds` also set, an event must match both. |
| `isBatched` | boolean | True when the high-volume event types arrive as `<type>.batch` deliveries of up to 100 events (`{eventType, eventId, timestamp, clientId, count, events}`), never one by one. |
| `schemaVersion` | string | The payload schema the endpoint receives: `2026-11`, or `2026-12`, which sends `workspaceId` for `clientId`, leaves out null values, writes enum values in snake_case and names every event type dotted. |

### Request

```bash
curl -X PATCH "https://api.ken.so/v1/webhook-endpoints/ep_2bX9kq4LmR7tW3vY" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://hooks.example.com/kenso/replies",
  "events": [
    "reply.classified"
  ],
  "description": "Interested and referral replies into our CRM",
  "isDisabled": false,
  "campaignIds": [
    4821
  ],
  "classifications": [
    "interested",
    "referral"
  ],
  "isBatched": false
}'
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": "ep_2bKq8yZ0aB3cD4eF5gH6iJ7kL8m",
    "url": "https://hooks.example.com/kenso/replies",
    "events": [
      "reply.classified"
    ],
    "description": "Interested replies into our CRM",
    "isDisabled": false,
    "createdAt": "2026-09-23T15:02:11Z",
    "health": "active",
    "lastDelivery": {
      "occurredAt": "2026-10-13T16:22:41Z",
      "status": "success",
      "responseStatusCode": 200,
      "eventType": "reply.classified"
    },
    "failedAttempts": 0,
    "campaignIds": [
      4821
    ],
    "classifications": [
      "interested"
    ],
    "isBatched": false,
    "schemaVersion": "2026-11"
  }
}
```

## Types

Each named type the tables above use, nested ones included.

### WebhookLastDelivery

The newest delivery attempt to an endpoint.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `occurredAt` | string (date-time) | no | When Kenso made the attempt, in UTC. |
| `status` | string | no | The attempt's result: `success`, `pending` or `fail`. |
| `responseStatusCode` | integer (int32) | no | The HTTP status your endpoint answered. Omitted when it never answered. |
| `eventType` | string | no | The event type that was delivered. |
