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

# Update Webhook

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

## Path parameters

- `webhook_id` string, required

## Request body

- UpdateWebhookRequest
  - `status` string, nullable
  - `payload` object, nullable
  - `headers` object, nullable
  - `integration_id` string, nullable
  - `failure_reason` string, nullable
  - `resolved_at` string, nullable
  - `next_retry_at` string, nullable
  - `last_attempt_at` string, nullable
  - `attempts` integer, nullable

## Response `200`

Successful Response

- WebhookDetail
  - `id` string, required
  - `workspace_id` string, required
  - `workspace_name` string, required
  - `integration_id` string, nullable, required
  - `provider` string, required
  - `event_type` string, required
  - `status` string, required
  - `attempts` integer, required
  - `max_attempts` integer, required
  - `last_attempt_at` string, date-time, nullable, required
  - `next_retry_at` string, date-time, nullable, required
  - `failure_reason` string, nullable, required
  - `payload` object, required
  - `headers` object, nullable, required
  - `retry_history` RetryHistoryEntry[], required
    - `attempt` integer, required
    - `timestamp` string, date-time, required
    - `status` string, required
    - `detail` string, nullable, required
  - `resolved_at` string, date-time, nullable, required
  - `retry_of` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/outcallerai/apis/fastapi.md) · [All operations](https://skmtc.net/outcallerai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outcallerai/fastapi/revisions/a57f684e7966/schema)
