Skip to content
BolderBolder Developers
Esc
↑↓navigate↵open⌘Jpreview

Download an order document file

Streams the uploaded file with Content-Disposition: attachment. Requires the same permission as reading the order’s documents. 404 if the document has no uploaded file (legacy documents expose file_url instead).

GET/orders/{order_id}/documents/{id}/file
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
order_idstringrequired
idintegerrequired
Responses
200

The file

string<binary>
403

Not enough permissions

404

Document or file not found

Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.onbolder.com/v2/orders/string/documents/0/file' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
"string"

Was this page helpful?