---
title: "Update instance webhook"
method: PUT
path: "/api/admin/webhooks/{webhookID}"
tags: ["Webhooks"]
---

# Update instance webhook

`PUT /api/admin/webhooks/{webhookID}`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/admin/webhooks/{webhookID}`
- Auth: API key in cookie `hk_token`

Updates configuration without changing the signing secret.

## Path parameters

- `webhookID` string, uuid, required

## Request body

- WebhookInput
  - `description` string
  - `enabled` boolean, required
  - `events` string[], required
  - `name` string, required
  - `url` string, uri, required: HTTPS destination. Loopback, private, link-local, multicast, and otherwise unsafe addresses are rejected unless development targets are explicitly enabled.

## Response `200`

Updated webhook

- Webhook
  - `created_at` string, date-time, required
  - `description` string, required
  - `enabled` boolean, required
  - `events` string[], required
  - `id` string, uuid, required
  - `name` string, required
  - `scope` 'instance' | 'site', required
  - `site_id` string, uuid, nullable
  - `updated_at` string, date-time, required
  - `url` string, uri, required

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
