---
title: "Update Webhook By ID"
method: PUT
path: "/v2/{account_id}/webhooks/{id}"
---

# Update Webhook By ID

`PUT /v2/{account_id}/webhooks/{id}`

## Request

- Base URL: `https://developers.yotpo.com`
- URL: `https://developers.yotpo.com/v2/{account_id}/webhooks/{id}`
- Auth: API key in header `X-Yotpo-Token`

Update your webhook `URL` or `event_name` by webhook `id`.

## Path parameters

- `account_id` string, required
- `id` string, required

## Request body

- object
  - `url` string: Your site URL
  - `event_name` string: The type of webhook params you wish to update e.g. `review_create`

## Response `200`

200

- object
  - `status` object
    - `code` integer
    - `message` string
  - `pagination` unknown

## Other responses

- `400`: 400
- `401`: Missing or invalid access token. Send a valid token in the `X-Yotpo-Token` header.

## Changes

- **2026-11-03** `5bcae8239b6e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/yotpo/apis/app-developer-api/changes/v2/:account_id/webhooks/:id/put.md)

---

[API](https://skmtc.dev/yotpo/apis/app-developer-api.md) - [All operations](https://skmtc.dev/yotpo/apis/app-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/yotpo/apis/app-developer-api/revisions/5bcae8239b6e?raw)
