viakite
Dashboard

API/Public pages/Enter a page's password for a viewer token

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.

No key neededapi.vk.viabio.me

Path parameters

sharestringrequired
A page's subdomain, id (shr_…) or active custom domain, or a share token (st_…).

Body

passwordstringrequired

Responses

The viewer token.

viewer_tokenstringrequired
Send as Authorization: Bearer vt_….
expires_atstring · date-timerequired
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.

StatusCode
401wrong_password
422no_password
404not_found
410share_expired
410share_disabled