---
title: "Update a webhook endpoint"
method: PATCH
path: "/webhooks/endpoints/{id}"
---

# Update a webhook endpoint

`PATCH /webhooks/endpoints/{id}`

## Request

- Base URL: `https://www.agentseo.dev/api/v1`
- URL: `https://www.agentseo.dev/api/v1/webhooks/endpoints/{id}`
- Auth: API key in header `x-api-key`

## Path parameters

- `id` string, uuid, required

## Request body

- WebhookEndpointUpdateRequest
  - `url` string, uri
  - `description` string, nullable
  - `events` string[]
  - `is_active` boolean

## Response `200`

Updated webhook endpoint.

- WebhookEndpoint
  - `id` string, uuid
  - `user_id` string, uuid
  - `url` string, uri
  - `description` string, nullable
  - `events` string[]
  - `is_active` boolean
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `last_delivery_at` string, date-time, nullable
  - `secret_last_four` string

---

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