Skip to content

Get the content of a File

GET
/vaults/{vaultUuid}/items/{itemUuid}/files/{fileUuid}/content
vaultUuid
required
string format: uuid

The UUID of the Vault the item is in

itemUuid
required
string format: uuid

The UUID of the Item the File is in

fileUuid
required
string

UUID of the file to get content from

Success

string format: binary
Content-Disposition
string
attachment; filename="privkey.pem"
Content-Length
string
6432

Invalid or missing token

object
message

A message detailing the error

string
status

HTTP Status Code

integer
Example
{
"message": "Invalid token signature",
"status": 401
}

File not found

object
message

A message detailing the error

string
status

HTTP Status Code

integer
Examples

File not found

{
"message": "file {fileUuid} not found",
"status": 404
}