Update Webhook

Update a webhook URL, events, or active state.

PATCH /v1/webhooks/:id

Update a webhook subscription.

Auth: Bearer API key (required)

Request body

Any combination of:

{
  "url": "https://new-url.com/webhooks",
  "events": ["post.published"],
  "active": false
}
FieldTypeDescription
urlstringNew endpoint URL
eventsstring[]Updated event list
activebooleanEnable or disable delivery

Response 200

Returns the updated webhook object (without secret).

cURL

curl -X PATCH https://api.social0.app/v1/webhooks/WEBHOOK_UUID \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"active": false}'