---
title: "Re-enable a disabled endpoint (resets failures, keeps the secret) and/or re-pick events [write]"
method: PATCH
path: "/channels/webhooks/{id}"
tags: ["channels"]
---

# Re-enable a disabled endpoint (resets failures, keeps the secret) and/or re-pick events \[write\]

`PATCH /channels/webhooks/{id}`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/channels/webhooks/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `status` 'ACTIVE'
  - `events` string[]

## Response `200`

OK

- ChannelWebhookEndpoint
  - `id` string
  - `url` string
  - `events` string[]
  - `status` string
  - `secret` string: whsec_ HMAC secret — returned on create only

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - added the optional property `error/request_id` to the response with the `default` status

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/channels/webhooks/:id/patch.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
