Skip to main content
Retrieve a single document

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the document or folder to retrieve.

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

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

Query Parameters

inTrash
boolean
default:false

Look for the object in the trash instead of among the active ones. Trashed and active objects are never returned by the same call.

Example:

false

photoSize
enum<string>
default:nano

Rendition of the profile photo to embed for every user in the users map.

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

"small"

Response

Returns the document or folder together with the users it references.

results
object[]

The documents and folders the call resolved to. A folder is represented in the folder shape, everything else in the document shape.

Full representation of a document.

users
object

Minimum profile of every user the results refer to - the creator, the workflow participants, the users mentioned in comments or sign fields and the users named in the rights. Keys are usernames for internal users and e-mail addresses for external ones.