---
title: "Update Webhook"
method: PATCH
path: "/api/v1/webhooks/{webhook_id}"
tags: ["webhooks"]
---

# Update Webhook

`PATCH /api/v1/webhooks/{webhook_id}`

## Request

- Base URL: `https://api.badgeia.com`
- URL: `https://api.badgeia.com/api/v1/webhooks/{webhook_id}`
- Auth: none declared

Update webhook settings.

## Path parameters

- `webhook_id` string, uuid, required

## Request body

- WebhookUpdate
  - `name` string, nullable
  - `url` string, nullable
  - `secret` string, nullable
  - `events` string, nullable
  - `format` string, nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- WebhookRead
  - `id` string, uuid, required
  - `name` string, required
  - `url` string, required
  - `events` string, required
  - `format` string, required
  - `has_secret` boolean, required
  - `is_active` boolean, required
  - `total_deliveries` integer, required
  - `failed_deliveries` integer, required
  - `last_delivery_at` string, date-time, nullable, required
  - `last_status_code` integer, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/badgeia/apis/badge.md) · [All operations](https://skmtc.dev/badgeia/apis/badge/llms.txt) · [OpenAPI document](https://skmtc.dev/badgeia/apis/badge/revisions/7e7f7fee8b77?raw)
