Files
Proxy file from storage
Proxies a file from storage. Requires team file key (fk) query parameter for access.
get/files/proxy
Request
- Base URLhttps://api.midday.ai
- URLhttps://api.midday.ai/files/proxy
- Auth
- OAuth 2Authorization code: https://app.midday.ai/oauth/authorizeToken URL: https://api.midday.ai/oauth/token
- or HTTP bearer
Query parameters
filePathstring required
Path to the file in storage. Can include or exclude 'vault/' prefix.
Example:vault/documents/2024/invoice.pdf
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
Response
File content
Changes
No recorded changes to this operation across all 1 revision of this API.