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

# Update webhook

`PUT /webhooks/{webhook_id}`

## Request

- Base URL: `https://queries.test.envia.com`
- URL: `https://queries.test.envia.com/webhooks/{webhook_id}`
- Auth: HTTP bearer

Update webhooks for the specified webhook id. Requires Bearer JWT authentication.

## Path parameters

- `webhook_id` integer, required

## Request body

- object
  - `url` string: Webhook URL
  - `events` unknown[]: Events to listen for
    - unknown

## Response `200`

Successful response

- object
  - `success` boolean: Indicates if the request was successful
  - `data` object: Updated webhook information

---

[API](https://skmtc.dev/envia/apis/envia-queries-api.md) - [All operations](https://skmtc.dev/envia/apis/envia-queries-api/llms.txt) - [OpenAPI document](https://skmtc.dev/envia/apis/envia-queries-api/revisions/56f601a52f3f?raw)
