**Version: 202601**

# Update a webhook

**PUT** `/openapi/2026-01/webhooks/:id`

Update a webhook with a unique identifier, notification URL, event name, and format.

## Request

**Path Parameters**

- `id` string (required)

  Webhook ID

**application/json**

**Body | Example**

**Body (required)**

- `id` string (required)

  Webhook ID
- `webhook` object (required)

  Webhook

  - `address` string

    Webhook notification URL, e.g. [https://example.com/webhook](https://example.com/webhook)
  - `topic` string

    The topic of the webhook

```json
{
  "id": "string",
  "webhook": {
    "address": "string",
    "topic": "string"
  }
}
```

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `webhook` object

    Webhook

    - `id` string

      The unique identifier of the webhook
    - `address` string

      Webhook notification URL, e.g. [https://example.com/webhook](https://example.com/webhook)
    - `topic` string

      The topic of the webhook
    - `created_at` string

      The time of the webhook was created
    - `updated_at` string

      The time of the webhook was updated
    - `format` string

      The format of the webhook

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "webhook": {
      "id": "string",
      "address": "string",
      "topic": "string",
      "created_at": "string",
      "updated_at": "string",
      "format": "string"
    }
  }
}
```
