Skip to main content
Share tokens give anyone with the link read-only access to a published document. No DocInject account required. Use them to share SOPs with external contractors, embed documents in other tools, or distribute guides across your organization without managing permissions.

How share tokens work

Each share token is a unique string tied to a single document. The public URL follows this format:
Anyone who has this URL can view the document. The link remains active as long as the token exists and the document is published.
Each document can have only one active share token at a time. Creating a new token replaces the existing one and immediately invalidates the old URL.
1

Open a published document

Navigate to the document. It must have a Published status. Draft and archived documents cannot have share tokens.
2

Click Embed

Click Embed in the document toolbar.
3

Create the link

If no token exists, click Create embed link. DocInject creates a token and displays the public URL alongside an iframe snippet.
4

Copy and share the URL

Copy the Embed URL and send it to anyone who needs access.
All active share links for your organization appear on the Dashboard under the Shareable links section. Each entry shows the document title and the full URL, with a one-click copy button. Open the Embed modal and click Remove link. The token is deleted immediately. Anyone who tries to open the old URL will see a “document not available” message. The public endpoint returns the full document JSON without requiring authentication:

Example response

The nodes array is a tree of sections, steps, and sub-steps. Each node has a node_type of "section", "step", or "sub_step", a title, optional rich-text content, an order index, and a children array for nested nodes.
If the token is invalid, the document is not published, or the org slug does not match, the endpoint returns 404.