Enter a page's password for a viewer token
POST/ v1/ public/ {share}/ unlock
No sign-in. The viewer token opens the page for 12 hours.
Path parameters
share
A page's subdomain, id (
shr_…) or active custom domain, or a share token (st_…).Body
password
Responses
The viewer token.
viewer_token
Send as
Authorization: Bearer vt_….expires_at
A time in UTC, ISO 8601.
Example response
1{2"viewer_token": "string",3"expires_at": "2026-11-21T09:30:00Z"4}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
wrong_password | |
no_password | |
not_found | |
share_expired | |
share_disabled |