Skip to main content
Download a file of a shared document

Path Parameters

hash
string
required

Hash of the file to download. It has to be one of the files this share gives access to.

Minimum string length: 1
Pattern: ^[a-z0-9]+$
Example:

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

Query Parameters

download
boolean
default:false

Record that the recipient downloaded the file - the share is flagged as downloaded and the event is written into the document's history.

Example:

false

otp
string

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

Example:

"553827"

print
boolean
default:false

Record that the recipient printed the file - the share is flagged as printed and the event is written into the document's history.

Example:

false

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 content of the file.