Get your free beta license ↗
API operation · export group
GET

/exports/{file}

First published 3 Oct 20260.1.0Unchanged since publication

Download an export file

Who may call it
AdministratorResellerCustomer
Token scope, any of
export
Answers200 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}$Required

Example

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 OK
The response body is the file itself.

Errors

3 errors, each a status and a sentence
400Invalid file name
401Authentication required
404Export not found
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/