Deploy webhook

Tell Webnak to re-read your markup the moment you deploy.

Webnak re-reads your markup on a background interval. If you call this on deploy, that becomes seconds instead, exactly when your HTML has changed.

CI, after deploy
curl -X POST https://api.cloud.wolfigs.com/webnak/hooks/ilk_your_site_key/recrawl \
  -H "Authorization: Bearer $WEBNAK_WEBHOOK_SECRET"

The secret is per site, in the dashboard under the site’s settings. If your webhook system cannot set headers, send it as {"secret": "..."} in the JSON body instead.

ResponseMeaning
202 AcceptedQueued. The crawl runs in the background, so CI does not wait.
401 UnauthorizedWrong secret, or a site key that does not exist. The two are deliberately indistinguishable.