Verify a webhook endpoint
POST /Platform/jobs/webhooks/{webhook_id}/verify
Verify a webhook endpoint.
Performs the challenge/echo handshake described on the subscription
route: POSTs {"type": "webhook.verification", "challenge": "<token>"} to the endpoint, which must answer 2xx with the token
in its body. Deliveries only flow to subscriptions in verified
state; run it again after fixing a failing endpoint. Requires the
admin:webhooks scope.
Path parameters
webhook_id: str. The subscription to verify.
Returns
WebhookVerification
status: "verified" or "failed". Whether the remote endpoint echoed the challenge.
Example request
curl -X POST "https://api.hilus.ai/Platform/jobs/webhooks/{webhook_id}/verify" \
-H "Authorization: Bearer $HILUS_API_KEY"