Skip to main content
GET
/
v1
/
admin
/
documents
/
files
/
{key}
Fetch a stored document file
curl --request GET \
  --url https://{operatorDomain}/v1/admin/documents/files/{key} \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Path Parameters

key
string
required

Storage key (may contain slashes).

Response

200 - application/octet-stream

File bytes

The response is of type file.