Documentation
Storage

Serve file

Stream a stored file by its opaque ID. Add ?size=WxH to resize (images only) or ?unoptimized to get the original.

GET
/api/files/{id}

Path Parameters

id*string

Query Parameters

unoptimized?unknown

If present, return the original file without any resizing.

size?unknown

Desired output width in pixels (e.g. 256). Snapped down to the closest allowed width.

curl -X GET "https://loading/api/files/string"
Empty