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

# Update a webhook

`PATCH /v1/webhooks/{webhook_id}`

## Request

- Base URL: `https://api.send0.dev`
- URL: `https://api.send0.dev/v1/webhooks/{webhook_id}`
- Auth: HTTP bearer

## Path parameters

- `webhook_id` string, required

## Request body

- object
  - `url` string
  - `events` string[]
  - `inbox_ids` string[], nullable
  - `status` 'enabled' | 'disabled'

## Response `200`

Webhook

- Webhook
  - `object` 'webhook', required
  - `id` string, required
  - `url` string, required
  - `events` string[], required
  - `inbox_ids` string[], nullable, required
  - `status` 'enabled' | 'disabled', required
  - `created_at` string, date-time, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key
- `403`: Not allowed (scope, policy or account state)
- `404`: Not found, or not visible to this key
- `429`: Rate limit (`rate_limited`, see Retry-After) or daily send limit reached

---

[API](https://skmtc.dev/send0/apis/send0-api.md) · [All operations](https://skmtc.dev/send0/apis/send0-api/llms.txt) · [OpenAPI document](https://skmtc.dev/send0/apis/send0-api/revisions/5b9775525cef?raw)
