Downloads a file with a specified ID.
Security
SecretApiKey or JWT
Resize image to specified size. Supports any sizes from 10x10 to 2000x2000, in the following format: {width}x{height}. If the value is invalid, the image returns the original size. This parameter is ignored for non-image files.
Example:imageSize=700x700
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/files/{id}/download
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/files/{id}/download
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/files/{id}/download
- SecretApiKey
- JWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/files/{id}/download?imageSize=700x700' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Response
- application/json
- application/pdf
- application/zip
- image/jpg
- image/png
- image/gif
- text/csv
"string"