v4 Files
Deliverables (measurement reports, PDFs, imagery) attach to an order once it's complete.
GET /v4/orders/{orderId}/files
List the files available on an order.
bash
curl https://sandboxclient-api.roofangle.com/v4/orders/ORDER_ID/files \
-H "Authorization: Bearer eyJhbGciOi..."GET
/v4/orders/%7BorderId%7D/filesPaste your sandbox credentials to run this request. The secret is held in memory for this tab only and is never stored. Need keys? Create a sandbox account.
GET /v4/files/{fileId}/download
Download a single file. Returns the file bytes with the appropriate Content-Type.
GET /v4/orders/{orderId}/files/download-all
Download every file on the order as a single ZIP.
GET /v4/files/download?token=...
Anonymous download using the token from an order.delivered webhook. No Authorization header required. The token itself is the credential.
Tokens expire
Download tokens are valid for 24 hours. Fetch and store the files on your side rather than holding the URL long-term.
