---
title: "Update Webhook Endpoint"
method: PUT
path: "/v2/endpoint/{endpoint_id}"
tags: ["Webhook"]
---

# Update Webhook Endpoint

`PUT /v2/endpoint/{endpoint_id}`

Update an existing webhook endpoint configuration including URL, status, and subscribed events.

## Path parameters

- `endpoint_id` string, required

## Request body

- object
  - `url` string, uri, required — Updated webhook endpoint URL
  - `status` 'enabled' | 'disabled', required — Webhook status
  - `events` string[], required — Updated list of event types

## Response `200`

Success

- object
  - `code` integer, required — Business status code: * 0 - Success * 10104 - Record not found * 10105 - Invalid API key * 18020 - Insufficient credit * 18025 - No permission to call APIs * 40000 - Parameter error * 50000 - System error
  - `msg` string, required — Response message
  - `data` WebhookEndpoint
    - `endpoint_id` string — Unique webhook endpoint identifier
    - `url` string, uri — Webhook endpoint URL
    - `secret` string — Secret key for verifying webhook signatures
    - `status` 'enabled' | 'disabled' — Webhook status
    - `events` string[] — Subscribed event types
    - `username` string — Username of the webhook owner
    - `created_at` integer — Creation timestamp (Unix timestamp)

---

[API](https://skmtc.net/jogg/apis/joggai-openapi-v2.md) · [All operations](https://skmtc.net/jogg/apis/joggai-openapi-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jogg/joggai-openapi-v2/versions/ec8807ce9c12/schema)
