---
title: "Update webhook"
method: PUT
path: "/webhooks/{webhookId}"
tags: ["Webhooks"]
---

# Update webhook

`PUT /webhooks/{webhookId}`

Update the details of an existing webhook.

## Path parameters

- `webhookId` string, uuid, required

## Headers

- `Crezco-Version` string

## Request body

- UpdateWebHookRequestVersion3 — Model for updating a WebHook
  - `callback` string, uri, required — The URL of the callback to register

## Response `200`

OK

- UpdateWebHookResponseVersion3 — Response returned by the Update WebHook endpoint on success
  - `webHookId` string, uuid — The Id of the WebHook in the Crezco system
  - `eventType` 'Unknown' | 'PayRun' | 'Batch' | 'Group' | 'Payable' | 'Authorisation' | 'BankAccount' | 'OrganisationOnboarding' | 'Feature' | 'Verification'
  - `callback` string — The URL of the callback to register

## Other responses

- `400` — Bad Request
- `401` — You do not have access. Check your API key is correct.
- `403` — You do not have access to this organisation.
- `406` — The version of the API that you requested is not available. Check your Crezco-Version header. If you omit this header you will use the latest version of the API.
- `429` — You have made too many requests to the API in too short a period. Wait a while and try again.

---

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