---
title: "Update existing webhook."
method: PUT
path: "/v1/webhooks/{id}"
tags: ["webhooks"]
---

# Update existing webhook.

`PUT /v1/webhooks/{id}`

Update an existing webhook's information. If you wish to reset the secret, submit any value as the "secret". Firefly III will take this as a hint and reset the secret of the webhook.

## Path parameters

- `id` string, required

## Headers

- `X-Trace-Id` string, uuid

## Request body

- WebhookUpdate
  - `active` boolean — Boolean to indicate if the webhook is active
  - `title` string, string — A title for the webhook for easy recognition.
  - `secret` string, string — A 24-character secret for the webhook. It's generated by Firefly III when saving a new webhook. If you submit a new secret through the PUT endpoint it will generate a new secret for the selected webhook, a new secret bearing no relation to whatever you just submitted.
  - `triggers` WebhookTrigger[]
  - `responses` WebhookResponse[]
  - `deliveries` WebhookDelivery[]
  - `url` string, string — The URL of the webhook. Has to start with `https`.

## Response `200`

Updated webhook stored, result in response

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `422` — Validation error. The body will have the exact details.
- `500` — Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
