---
title: "Update an existing Webhook"
method: PATCH
path: "/webhooks/{uuid}"
tags: ["Webhooks"]
---

# Update an existing Webhook

`PATCH /webhooks/{uuid}`

## Request

- Base URL: `https://sandbox.au-0000.api.assemblypay.com`
- URL: `https://sandbox.au-0000.api.assemblypay.com/webhooks/{uuid}`
- Auth: HTTP bearer

Update an existing **Webhook** using a given `:id`. You can change the `URL`, the `description` and whether the **Webhook** is `enabled` or `disabled`.

## Path parameters

- `uuid` string, uuid, required

## Request body

- UpdateWebhookRequestBody
  - `enabled` boolean
  - `url` string, url
  - `description` string

## Response `200`

Successful

- Webhook
  - `uuid` string, uuid
  - `object_type` string
  - `http_method` string
  - `url` string
  - `description` string
  - `enabled` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `links` WebhookLinks
    - `self` string
    - `webhooks` string

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Webhook not found
- `422`: Unprocessable entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/hellozai/apis/webhooks-api.md) - [All operations](https://skmtc.dev/hellozai/apis/webhooks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hellozai/apis/webhooks-api/revisions/94791cdd7a23?raw)
