API operation · export group
GET
/exports/{file}
First published 3 Oct 2026
0.1.0Unchanged since publicationDownload an export file
Who may call it
AdministratorResellerCustomer
Token scope, any of
exportAnswers200 OK
The 200 response body contains the file bytes. Filenames ending in .enc use the application/octet-stream content type. Other filenames use application/json. The API returns 404 if the export is missing and 500 if it cannot open the file for reading.
Parameters
filepath ·string, matching ^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$RequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X GET "$API/exports/urbestack-panel-20260909T101500Z.json.enc" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OKThe response body is the file itself.
Errors
3 errors, each a status and a sentence400Invalid file name401Authentication required404Export not foundNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-exports-file/