GET
/
v1
/
files
/
view
curl "https://v2.app-dev.zquence.com/v1/files/view?key=$FILE_KEY" \
  -H "x-api-key: $ZQUENCE_PUBLIC_KEY" \
  -H "x-api-secret: $ZQUENCE_SECRET_KEY" \
  --output downloaded-file
Requires API-key scope files.download.
key
string
required
Stored file key.
curl "https://v2.app-dev.zquence.com/v1/files/view?key=$FILE_KEY" \
  -H "x-api-key: $ZQUENCE_PUBLIC_KEY" \
  -H "x-api-secret: $ZQUENCE_SECRET_KEY" \
  --output downloaded-file
Returns 400 when key is empty, 403 when the file does not belong to the API key’s tenant, and 404 when the stored file does not exist.