POST /v1/page-views records one page view. Use it from any language or framework that has no SDK middleware: call it once per page-content GET your site serves, from the request that serves it. It answers 204 without waiting for anything downstream, so a report never sits on your response.
Mint a key
Reporting authenticates with azc_ key carrying the page-views:write scope. In the dashboard under Settings → API keys, create a key with the Page views group’s Write toggle enabled, and keep it on your marketing site’s server.
Report a view
204.
Request body
Report only page-contentGET requests — the same thing a reader loads to view a page — so there is no method field; the method is always GET.
Forward the visitor’s
userAgent, accept, and clientIp from the original request, not your server’s — the request reaches ZeroClick from your backend, so its own headers describe your server, not the reader. Report only what a reader loads to view a page; skip assets and redirects, exactly as the middleware does.
Response and errors
Reporting is fire-and-forget by design: send the beacon without blocking your response, and treat any failure as a no-op so a reporting problem never affects the page. The SDK middleware does exactly this for you.
Next steps
SDK middleware
Report automatically from a TypeScript site, fail-open.
Overview
What is captured, how viewers are classified, and the privacy model.