Files

Download file from vault

Downloads a file from the vault storage bucket. Requires team file key (fk) query parameter for access.

get/files/download/file

Query parameters

pathstring required

Path to the file in storage. Can include or exclude 'vault/' prefix.

Example:vault/documents/2024/invoice.pdf

Path to the file in storage. Can include or exclude 'vault/' prefix.

filenamestring

Optional filename for the Content-Disposition header.

Example:invoice.pdf

Optional filename for the Content-Disposition header.

fkstring required

Team file key for proxy/download access to team files. This key is returned in the user data response (GET /users/me) as the fileKey field. It is team-scoped and deterministic - all members of the same team share the same file key. Use this key to authenticate file access requests.

Example:a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6

Team file key for proxy/download access to team files. This key is returned in the user data response (GET /users/me) as the fileKey field. It is team-scoped and deterministic - all members of the same team share the same file key. Use this key to authenticate file access requests.

Response

File content

Changes

No recorded changes to this endpoint across all 1 revision of this API.