Hanzo
OpenapiDataroom

Pass a share link's gates and open a viewing session

Clears the link's access controls and answers with the viewing session — a `viewId`, whether download is permitted, and the documents behind the link —…

POST /v1/dataroom/view/{linkId}/authenticate

Addresshttps://api.hanzo.ai/v1/dataroom/view/{linkId}/authenticate
MethodPOST
Operationpost_dataroom_view_by_linkid_authenticate
AuthAuthorization: Bearer $HANZO_API_KEY

Clears the link's access controls and answers with the viewing session — a viewId, whether download is permitted, and the documents behind the link — which every later viewer call is authorised by.

No principal: the visitor is whoever holds the link id, and the org is resolved from it. The gates run in a fixed order and each is a flat refusal, never a hint. An archived or unknown link is 404 and an expired one 403. A missing address on an email-protected link is 401. An address on the deny list is 403, checked BEFORE the allow list so deny always wins. An address the allow list does not admit is 403 — an EMPTY allow list admits everyone, so a link with no list enforces the email gate alone. A wrong or absent password is 401, decided against the stored bcrypt hash.

The address is taken as stated and recorded UNVERIFIED: it names a viewer for analytics and repeat visits from it reuse one viewer record, but it proves nothing about who is on the other end. A link gated only by email is openable by anyone the link reaches.

Request

1 field.

FieldInTypeRequiredDescription
linkIdpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo dataroom view authenticate <linkId>

Dataroom API · All Hanzo APIs · Interactive reference

How is this guide?

On this page