---
title: "Update Webhook"
method: PUT
path: "/api/v1/cash/webhooks/active"
---

# Update Webhook

`PUT /api/v1/cash/webhooks/active`

Updates an existing webhook configuration. The webhook will be deactivated and a new activation test will be sent.
The webhook will only become active again if the new endpoint responds successfully to the activation test.

## Headers

- `X-Client-Id` string, required
- `X-Signature` string, required
- `X-Timestamp` string, required

## Request body

- WebhookUpdateRequest
  - `id` integer, required — Webhook configuration ID to update
  - `endpoint_url` string, uri, required — New webhook endpoint URL

## Response `200`

Webhook updated successfully and activation test initiated

- WebhookUpdateResponse
  - `event` 'webhook.updated' — Event type identifier
  - `id` integer — Webhook configuration ID
  - `endpoint_url` string, uri — Updated webhook endpoint URL
  - `secret_token` string — 64-character hexadecimal secret token (unchanged)
  - `updated_at` string, date-time — ISO 8601 timestamp of last update

## Other responses

- `400` — Bad Request - Invalid webhook configuration
- `401` — Unauthorized - Invalid or missing authentication
- `404` — Webhook configuration not found

---

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