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

# Update a webhook

`PUT /webhooks/{id}`

## Request

- Base URL: `https://api.emailchaser.com/r`
- URL: `https://api.emailchaser.com/r/webhooks/{id}`
- Auth: HTTP bearer

Updates a registered webhook's name, URL, event type or enabled state. Only provided fields are changed. Disabling a webhook stops deliveries without deleting it.

## Path parameters

- `id` integer, required

## Request body

- ModelsUpdateWebhookRequest
  - `isEnabled` boolean
  - `name` string
  - `type` string
  - `url` string

## Response `200`

Webhook updated successfully

- ModelsUpdateWebhookResponse
  - `message` string
  - `webhook` ModelsWebhookResponse
    - `createdAt` string
    - `id` integer
    - `isEnabled` boolean
    - `name` string
    - `status` string
    - `type` string
    - `url` string

## Other responses

- `400`: Invalid webhook ID, request body, type or URL
- `401`: Unauthorized - invalid or missing API key
- `404`: Webhook not found
- `500`: Failed to update webhook

---

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