Skip to main content
POST
Download a user file

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
mode
enum<string>
required

Mode of user identification

Available options:
login,
token,
email,
phone,
custom
identity
string
required

User identifier corresponding to the mode

fileuuid
string

Unique identifier of the file (preferred)

filename
string

Name of the file (resolves to the most recent file with this name)

tag
string

Select the newest of the user's files carrying this tag

request_metadata
object

Additional metadata for the request

Response

The decrypted file

The response is of type file.