Count a visitor who opened a public page
POST/ v1/ public/ {share}/ view
No sign-in. Counts the visitor once a month, as H10 does, for the viewer limit and the public_viewers meter. A page with a password needs its viewer token. A new visitor of a page at a viewer limit that pauses, or while a spend cap stopped public pages, gets stats_paused (403).
Path parameters
share
A page's subdomain, id (
shr_…) or active custom domain, or a share token (st_…).Responses
Counted, or already counted this month.
No body.
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
password_required | |
stats_paused | |
not_found | |
share_expired | |
share_disabled | |
page_over_plan |