Documents

Open a whiteboard on its public page

POST
/documents/{document_id}/whiteboard/open

Show a whiteboard to the user on its own public page, outside the app. Shares the whiteboard as a page with a link limited to the caller's email (plus any emails to share it with, who confirm their address by code and only read) on first use and reuses it afterwards. Returns url, a one-time address valid for two minutes that lets the caller in without a code and with editing when their Space role allows it: open it right away in the user's default browser (macOS open, Linux xdg-open, Windows start), or show it if you cannot open a browser. share_url is the lasting address for the people in emails. Use a new idempotency_key for every opening.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

document_id*string

Resource identifier: document_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128
Idempotency-Key?string

A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.

Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/documents/123e4567-e89b-42d3-a456-426614174000/whiteboard/open" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{}'
{  "url": "https://storage.example.com/invoice-2026-09.pdf?signature=example",  "share_url": "https://storage.example.com/invoice-2026-09.pdf?signature=example",  "page_id": "123e4567-e89b-42d3-a456-426614174000",  "link_id": "123e4567-e89b-42d3-a456-426614174000",  "allowed_emails": []}