Hanzo AI
OpenapiDataroom

List links

Returns every live share link in the caller org's own store, newest first, with the controls a visitor will meet: whether an address is required, whether…

GET /v1/dataroom/links

Addresshttps://api.hanzo.ai/v1/dataroom/links
MethodGET
Operationget_dataroom_links
AuthAuthorization: Bearer $HANZO_API_KEY

Returns every live share link in the caller org's own store, newest first, with the controls a visitor will meet: whether an address is required, whether a password is set, the allow and deny lists, whether download is permitted, and when the link expires.

Archived links are omitted entirely. A link reports only THAT a password is set — the stored form is a bcrypt hash and no route returns it.

Request

GET /v1/dataroom/links takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200dataroomLinksok

200 body — 15 fields.

FieldInTypeAlwaysDescription
linksbodydataroomLink[]Links is every non-archived link, newest first.
links[].allowDownloadbodybooleanAllowDownload is whether a visitor may download, rather than only view.
links[].allowListbodystring[]AllowList narrows which addresses pass the email gate. An entry may be a full address, an "@domain.com" suffix, or a bare "domain.com".
links[].createdAtbodyintegerCreatedAt is when the link was minted, in unix milliseconds.
links[].dataroomIdbodystringDataroomId is the room the link opens, null for a single-document link.
links[].denyListbodystring[]DenyList rejects addresses, in the same three forms as the allow list, and is checked BEFORE it — so deny always wins.
links[].documentIdbodystringDocumentId is the document the link opens, null for a room link.
links[].emailProtectedbodybooleanEmailProtected is whether a visitor must state an address to enter.
links[].expiresAtbodyintegerExpiresAt is when the link closes, in unix milliseconds; null never expires.
links[].hasPasswordbodybooleanHasPassword reports THAT a password is set.
links[].idbodystringID is the link id — the public token a visitor opens the room with.
links[].isArchivedbodybooleanIsArchived is whether the link has been retired.
links[].linkTypebodystringLinkType is DATAROOM_LINK or DOCUMENT_LINK.
links[].namebodystringName is the link's label, null when none was given.
links[].updatedAtbodyintegerUpdatedAt is when the link last changed, in unix milliseconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo dataroom links get

Dataroom API · All Hanzo APIs · Interactive reference

How is this guide?

On this page