Skip to main content
PATCH
/
api
/
v1
/
webhooks
/
{id}
Update Webhook
curl --request PATCH \
  --url https://api.example.com/api/v1/webhooks/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "event_types": [
    "<string>"
  ],
  "enabled": true,
  "description": "<string>"
}
'

Path Parameters

id
string
required
The webhook UUID.

Request

All fields are optional — include only the fields you want to change.
url
string
New endpoint URL. Subject to SSRF validation.
event_types
string[]
New set of subscribed event types.
enabled
boolean
Enable or disable the webhook. Disabled webhooks skip delivery.
description
string
Updated description.

Example

curl -X PATCH https://hitheo.ai/api/v1/webhooks/WEBHOOK_ID \
  -H "Authorization: Bearer $THEO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "event_types": ["*"], "enabled": true }'

Response

{ "updated": true }