Download File
Changed onA signed download URL for the file's bytes — the internal download endpoint's exact path.
Same access rule and response shape as the app's GET /files/{id}/download (FileService.get_file access check, then a presigned storage URL): no bytes traverse this API. The URL is time-limited (typically valid for at least 24 hours) — re-request rather than persisting it. Requires the files:read scope: file bytes are content, not workspace enumeration, so canvases:read alone deliberately does not grant them.
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/drive/files/{file_id}/download
- AuthHTTP bearer
Path parameters
Prefixed file_ wire ID (Crockford base32 body) — the canonical, recommended form. For back-compat, a bare UUID string is also accepted in both path parameters and JSON request bodies (older integrations that stored raw UUIDs keep working), as is the prefix over a UUID body (file_00000000-0000-4000-8000-000000000000). All three are permanent, supported inputs; only the canonical form is ever emitted.
Headers
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
Response
Successful Response
Changes
- info
endpoint added
- info