---
title: "PATCH /v1/agents/{agent_id}/webhooks/{webhook_id}"
method: PATCH
path: "/v1/agents/{agent_id}/webhooks/{webhook_id}"
tags: ["webhooks"]
---

# PATCH /v1/agents/{agent_id}/webhooks/{webhook_id}

`PATCH /v1/agents/{agent_id}/webhooks/{webhook_id}`

## Path parameters

- `agent_id` string, uuid, required
- `webhook_id` string, required

## Request body

- UpdateWebhookBody
  - `events` string[], nullable
  - `status` string, nullable
  - `url` string, nullable

## Response `200`

- WebhookResponse
  - `agent_id` string, uuid, required
  - `created_at` string, required
  - `events` string[], required
  - `status` string, required
  - `updated_at` string, required
  - `url` string, required
  - `user_id` string, required
  - `webhook_id` string, uuid, required

## Other responses

- `404`

---

[API](https://skmtc.net/twin/apis/twin-api.md) · [All operations](https://skmtc.net/twin/apis/twin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twin/twin-api/versions/a674e57c2ec4/schema)
