Go to App

Toggle Webhook

PATCH/api/v1/webhooks/{uuid}/toggle

Toggle the webhook status between enabled and disabled.

Path Parameters

ParameterTypeDescription

uuidrequiredstringWebhook identifier

bash
curl -X PATCH https://exportcomments.com/api/v1/webhooks/a1b2c3d4-5678-90ab-cdef-1234567890ab/toggle \
-H "X-AUTH-TOKEN: your-api-key"
Response200
json
{
"uuid": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"enabled": false,
"status": 0
}