Get a file of your company
GET/api/public/file/:fileType/:path
Downloads a file that belongs to your company by its type and path. Use the path exactly as it is returned by the API (for example, the path of a generated PDF report).
The file is returned as a stream and is encrypted: always with aes-256-cbc and the Crypto Key of your Application, without HMAC. The initialization vector is in the x-initialization-vector response header (hex, 16 bytes). This applies to all file endpoints.
Request
Responses
- 200
- 401
OK
Unauthorized: the x-private-app-key header is missing or not valid