Skip to main content
Search the shares of the workspace

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.

Body

application/json
from
integer | null
default:0

Starting position in the result set.

Required range: x >= 0
Example:

0

isActive
boolean

Whether to look at shares that are still live or at ones that have been called off. At least one of isActive, shareType, sharedBy, sharedObjectType, sharedObjectEsId, sharedObjectEsType, sharedWith and onlyCurrentlyValid must be provided.

onlyCurrentlyValid
boolean

Narrows the answer to the shares that would open right now - still live and not past their end. Naming it at all narrows the answer, whichever way it is set. At least one of isActive, shareType, sharedBy, sharedObjectType, sharedObjectEsId, sharedObjectEsType, sharedWith and onlyCurrentlyValid must be provided.

sharedBy
string | null

Username of the person who sent the document out. At least one of isActive, shareType, sharedBy, sharedObjectType, sharedObjectEsId, sharedObjectEsType, sharedWith and onlyCurrentlyValid must be provided.

Pattern: ^[A-Za-z0-9.@_+-]+$
Example:

"john.doe+member@example.com"

sharedObjectEsId
string

Identifier of the shared document - the usual way to ask who one document went to. At least one of isActive, shareType, sharedBy, sharedObjectType, sharedObjectEsId, sharedObjectEsType, sharedWith and onlyCurrentlyValid must be provided.

Example:

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

sharedObjectEsType
string

Definition the shared documents were created from. At least one of isActive, shareType, sharedBy, sharedObjectType, sharedObjectEsId, sharedObjectEsType, sharedWith and onlyCurrentlyValid must be provided.

Example:

"d_default"

sharedObjectType
enum<string>

Kind of object that was shared. At least one of isActive, shareType, sharedBy, sharedObjectType, sharedObjectEsId, sharedObjectEsType, sharedWith and onlyCurrentlyValid must be provided.

Available options:
document
sharedWith
string<email>

Address the document was sent to. At least one of isActive, shareType, sharedBy, sharedObjectType, sharedObjectEsId, sharedObjectEsType, sharedWith and onlyCurrentlyValid must be provided.

shareType
enum<string>

What the recipients were asked to do with the document. At least one of isActive, shareType, sharedBy, sharedObjectType, sharedObjectEsId, sharedObjectEsType, sharedWith and onlyCurrentlyValid must be provided.

Available options:
view,
edit,
sign,
execute,
approve,
review,
accept
showPermanentTokens
boolean

Whether documents' permanent public links are included. They are left out otherwise.

size
integer | null
default:10

Maximum number of results to return.

Required range: 0 <= x <= 100
Example:

10

Response

Returns the matching shares the caller may see.

allowedOAuths
string[]

Identity providers the recipient may prove themselves with, where the share is guarded by a sign-in with a trusted provider.

Example:
automaticReminder
object | null

How often the recipient is reminded of the action still outstanding, and from when. Absent where no reminders were arranged.

customActionName
string | null

Wording to put in front of the recipient in place of the standard name of the action. It changes nothing but the label - what the recipient is asked to do still follows shareType.

Example:

"Countersign"

dateFormat
string

Format the recipient is shown dates in.

Example:

"DD.MM.YYYY"

delegatedChainId
string

Identifier carried by every share in one chain of hand-overs, so that the whole chain can be followed back to the recipient it started with.

delegatedFrom
string

Share this one was handed over from, when a recipient passed their part on to somebody else.

fullname
string

Full name of the (external) recipient, if known. Used to pre-fill the recipient's name (e.g. in the signature field) instead of falling back to their email address.

isActive
boolean

Whether the share is still live. One that the sender has called off, or that was superseded when the recipient was changed, opens nothing any more.

isDelegated
boolean

Whether this recipient has handed their part over, which means the document is no longer waiting for them but for whoever they passed it to.

isMandatory
boolean

Whether the sharing operation counts as done only once this recipient has acted.

isPermanentViewToken
boolean

Whether this is the document's permanent public link rather than a share issued to a particular person. Such a link only lets the document be read, and answers without its workflow.

kycDocumentTypes
enum<string>[] | null

Identity documents the recipient may verify themselves with.

Available options:
idCard,
passport,
driverLicense,
residencePermit
kycExpectedData
object | null

Which of the recipient's identity details the verification has to find and match.

kycFactors
enum<string>[] | null

Checks the identity verification has to put the recipient through.

Available options:
idVerification,
livenessDetection,
selfieWithId
kycProviders
string[]

Verification providers the recipient may use, where the share is guarded by an identity check.

Example:
language
string

Language the recipient is addressed in, both in the notifications sent to them and in the view they are shown.

Example:

"en"

message
string

Message the sender wrote to the recipients of this sharing operation.

messageRead
boolean

Whether the recipient has marked that message as read.

nafathId
string

Nafath national identity the recipient has to prove, anonymized.

oauthFactors
object[]

Details the trusted identity provider has to report about the recipient before the share opens, with their values anonymized.

order
integer | null

Where this recipient stands in the order of acting, when the recipients of the sharing operation are to act one after another.

otpMail
string

Address the one-time password is sent to, anonymized.

otpPhone
string

Number the one-time password is sent to, anonymized.

passwordRequired
boolean

Whether the share currently holds a password the recipient has to supply before it opens. Every way of guarding a share ends in such a password, so for a one-time code, a sign-in with a trusted provider or an identity check this turns true only once the recipient has been through it.

privateMessage
string

Message written to this one recipient, as against the message addressed to all of them.

quorum
integer

How many of the recipients acting at this point have to act before the document moves on.

remindedOn
string<date-time>

When the recipient was last reminded of the action still outstanding.

returnUrl
string | null

Where the recipient is sent once they have done what was asked of them.

Example:

"https://example.com/thank-you"

rights
string[]

What this share allows beyond its purpose - printing the document, handing the action to somebody else, reading the document's metadata, uploading files.

Example:
sendAttachmentsOnComplete
boolean

Whether the document's attachments are sent to the recipient with the message that closes the sharing operation.

sequential
boolean

Whether this recipient's turn waits on the recipients before them, rather than everybody being asked at once. A share that only lets the document be read never waits, even where the rest of the sharing operation is ordered.

shareDate
string<date-time>

When the document was shared.

sharedBy
string

Username of the person who shared the document.

sharedFlags
string[]

What has happened to the document on this share so far - that the recipient has seen it, downloaded or printed it, or acted on it.

Example:
sharedObjectEsId
string

Identifier of the shared document.

sharedObjectEsType
string

Definition the shared document was created from.

sharedObjectType
string

Kind of object that was shared. Documents are the only kind so far.

Example:

"document"

sharedUsername
string

Username of the recipient, set only where the share was issued to a user of this workspace.

sharedWith
string[]

Who the share was issued to - the e-mail address of a recipient outside the workspace, otherwise the username of one inside it.

shareGroup
string

Identifier tying together every share created by one sharing operation.

shareId
string

Identifier of the share.

Example:

"5Ds8g5cB3a5JydtvXALu"

shareType
string

What the recipient is asked to do with the document - read it, edit it, sign it, accept, approve or review it, or carry out a workflow action. Once they have done so the share falls back to plain reading.

Example:

"sign"

timeFormat
string

Format the recipient is shown times in.

Example:

"HH:mm"

tokenGenerated
boolean

Whether the sender has ever taken this share's token out to pass it on themselves, instead of leaving it to the notification sent to the recipient. Once they have, the way the share is guarded can still be switched or corrected, but no longer lifted or replaced with a password.

validUntil
string<date-time>

When the share stops opening. Empty where its validity is not limited.