documentIdstring- Exactly one of this and
dataRoomId. dataRoomIdstring- Exactly one of this and
documentId. namestring- How the link is labelled in analytics. Defaults to “Shared link”.
activeboolean- Defaults to true.
isPublicboolean- Publish the document: anyone with the address reads it immediately, and search engines are asked to index the page. Forces
requireEmail, requireEmailVerification, password and requireNda off, whatever else the same request sets. Defaults to false, so a link is private unless you say otherwise. requireEmailboolean- Ask a visitor who they are. Defaults to true, and ignored when
isPublic is set. requireEmailVerificationboolean- Send a six-digit code to that address and check it. Implies
requireEmail. passwordstring | null- Protect the link. Null removes it.
expiresAtISO 8601 datetime | nullmaxViewsinteger | null- Stop answering after this many visits.
pinnedVersionIdstring | null- Serve one saved version rather than the live document.
allowDownloadboolean- Defaults to false.
watermarkboolean- Defaults to true.
watermarkConfigobject | null{ text, position, opacity, rotation, fontSize, color }, all optional and merged over the current values. text takes the placeholders {email}, {date}, {time}, {ip} and {link}; position is tiled, center or footer; opacity 1–100; rotation -90–90; fontSize 8–96; color a six-digit hex. Null clears it back to the default.requireNdaboolean- Ask the visitor to accept terms before they can read.
ndaTextstring- Terms written on the link itself.
agreementIdstring | null- Terms from your agreements library instead. Editing that agreement re-asks everyone who accepted the old wording.
allowedEmailsstring[]- Only these addresses — or anyone at
allowedDomains, when both are set. Up to 200 entries. allowedDomainsstring[]- Only addresses at these domains, matched exactly:
acme.com does not admit eu.acme.com. Up to 200. blockedEmailsstring[]- Never these. An entry without an
@ in the middle — rival.com or @rival.com — is a domain and blocks everybody at it. Up to 200. notifyOnViewboolean- Email you when somebody opens it. Defaults to true.
screenshotProtectionboolean- Deter casual copying: printing is blocked and the page hides when the window loses focus. Defaults to false.
allowAssistantboolean- Let the reader ask questions about the document. Defaults to false.
allowAudioboolean- Let the reader have the document read aloud, choosing a voice and a speed. Defaults to false.
allowFeedbackboolean- Show a reaction bar under the document. Defaults to false.
bulkDownloadOtpboolean- Room links only: make a visitor confirm an emailed code before a zip of everything. Defaults to true.
tagsstring[]- Your own labels for filtering links: up to 20, each one word of up to 32 characters, stored lowercased.
captureFields{label, type?, required?, options?, id?}[]- Extra questions asked with the email, up to 8.
type is text, select or checkbox and defaults to text; a select needs options. id is minted from the label when you omit it, and is the key the answers come back under on a view. ogTitlestring | null- What a chat app or social card shows when the link is pasted. Defaults to the document or room name.
ogDescriptionstring | null- The line under that title.
ogImageUrlstring | null- The card's picture, an http or https address. Defaults to the XDocs card. 1200×630 previews best.
ogFaviconUrlstring | null- The icon in the browser tab on the viewer page.