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.
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.
| Response | Meaning |
|---|---|
| 202 Accepted | Queued. The crawl runs in the background, so CI does not wait. |
| 401 Unauthorized | Wrong secret, or a site key that does not exist. The two are deliberately indistinguishable. |