---
title: "Enable or disable a webhook"
method: PATCH
path: "/webhooks/{id}"
tags: ["Webhooks"]
---

# Enable or disable a webhook

`PATCH /webhooks/{id}`

## Request

- Base URL: `https://api.multi-upload-tool.com/api/v1`
- URL: `https://api.multi-upload-tool.com/api/v1/webhooks/{id}`
- Auth: API key in header `x-api-key`

Re-enables a webhook disabled after 3 events in a row failed every delivery attempt (and resets that count), or pauses one without deleting it.

## Path parameters

- `id` integer, required

## Headers

- `X-Team-ID` integer

## Request body

- object
  - `isActive` boolean, required

## Response `200`

The updated webhook.

- object
  - `success` unknown
  - `data` Webhook
    - `id` integer
    - `url` string, uri
    - `events` WebhookEvent[]
    - `isActive` boolean
    - `createdAt` string, date-time

## Other responses

- `401`: The API key is missing, invalid, revoked or expired.
- `404`: No such resource, or it does not belong to the caller.
- `429`: Too many requests for this endpoint group.

---

[API](https://skmtc.dev/multi-upload-tool/apis/multi-upload-tool-api.md) · [All operations](https://skmtc.dev/multi-upload-tool/apis/multi-upload-tool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/multi-upload-tool/apis/multi-upload-tool-api/revisions/bb7e72abbb76?raw)
