Skip to main content
Get the shared document

Query Parameters

otp
string

Authorization password for the share token. Required if the share is protected.

Example:

"553827"

photoSize
enum<string>
default:nano

Size in which the photos of the users returned alongside the document are rendered.

Available options:
nano,
small,
medium,
big
Example:

"nano"

shareToken
string
required

Share token used to access the shared resource.

Minimum string length: 1
Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_82c5fa30d26bc.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

tenant
string

Tenant the share belongs to. It only has to be given when neither the share token nor the address the request arrives on says which one it is.

Pattern: ^[a-z0-9]+$
Example:

"default"

Response

Returns the shared document with the users and mentioned documents it refers to.

docs
object[]

Documents mentioned in the comments on this document, so that those mentions can be rendered with their titles.

results
object

The shared document, trimmed to what this share lets the recipient see.

users
object

The people referred to anywhere on the document - its creator and owner, the workflow's participants, whoever left a record in its history or was mentioned in a comment - so that a client can put a name and a face to every reference. Keyed by username, or by e-mail address for someone known only from the sender's contacts.