---
title: "Update a webhook"
method: PUT
path: "/webhooks/{id}"
---

# Update a webhook

`PUT /webhooks/{id}`

Updates the specified details of an existing webhook.

## Path parameters

- `id` string, required

## Request body

- object
  - `callbackUrl` string
  - `events` string[] — List of events the webhook is subscribing to.

## Response `200`

Successfully updated webhook

- Webhook
  - `id` string, uuid
  - `callbackUrl` string
  - `events` string[] — List of events the webhook is subscribing to.
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `lastTriggeredAt` string, date-time

## Other responses

- `400` — Validation error
- `404` — Webhook not found

## Changes

- **2025-12-03** `8deefa349e1d` — 1 warning, 1 info
  - removed the optional property `createAt` from the response with the `200` status
  - added the optional property `createdAt` to the response with the `200` status

[Change history](https://skmtc.dev/argildotai/apis/argil-api/changes/webhooks/:id/put.md)

---

[API](https://skmtc.dev/argildotai/apis/argil-api.md) · [All operations](https://skmtc.dev/argildotai/apis/argil-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/argildotai/argil-api/revisions/f3d0315da0f0/schema)
