Re-render a specific page and refresh its cached HTML
POST /functions/v1/purge-cache
Triggers a fresh re-render of a single page and updates the cached HTML. The re-render happens asynchronously — the endpoint returns immediately once the job is queued. This also works for new pages that aren’t cached yet — use it to pre-warm cache so the page is ready before a bot visits.
Always call this endpoint from a server-side environment (backend API, serverless function, build script, etc.). Never include your API key in client-side code — it will be visible to anyone inspecting your frontend.
Request
Headers
Header
Required
Description
Authorization
Yes
Bearer hado_sk_your_key_here
Content-Type
Yes
application/json
Body Parameters
Parameter
Type
Required
Description
domain
string
Yes
The domain to purge (e.g., "example.com"). Must be a domain you own in Hado SEO.
path
string
Yes
The URL path to purge (e.g., "/about" or "/blog/my-post").
When you receive a 429, the usage and limit fields tell you where you stand against your monthly quota. Per-minute limits (60 req/min) reset automatically after 60 seconds.