Download a file's contents
https://api-staging.pixwel.com/api/files/{id}/downloadReturns the bytes of a file, wherever they are stored. An S3-backed file answers `302` with a short-lived presigned `Location`; a database-stored blob (poster, thumbnail) streams the bytes directly. Follow redirects and send a non-JSON `Accept` — a JSON `Accept` returns the file record instead of its contents. Clients drop the `Authorization` header when following a cross-origin redirect, which is what storage requires, so no special handling is needed. This is the stable URL carried by `file.*` webhook payloads, so a stored payload never holds an expiring link. Access matches the webhook recipient model: admins, or a user holding a download grant on the file.
Path parameters
Headers
Use `*/*` (or any non-JSON value) to receive the bytes. `application/json` returns the file record.