Investbrain Documentation
Export

Start a backup export

On this page 5
POST /export

Starts building an Excel workbook of everything in your account, in the same format the Import / Export page imports. The workbook is built in the background: poll GET /export/{id} until status is success, then download it from download_url. If an export is already being prepared, that export is returned instead of starting another. Only your latest export is kept, so starting a new one removes the previous one. You can start up to 3 exports per minute.

Responses

202

The export being prepared

application/json
object
  • id string uuid
  • status string

    pending while the workbook is being built, success when it's ready to download, or failed if something went wrong (start a new export to try again).

    Allowed values pending success failed
  • download_url string url nullable

    Where to download the workbook once status is success; otherwise null.

  • created_at string date-time
  • completed_at string date-time nullable

    When the export succeeded or failed; null while pending.

  • expires_at string date-time

    When the export and its workbook are deleted, 24 hours after it was started.

401

Token not provided or invalid

429

Rate limit exceeded. Retry after the number of seconds in the Retry-After header.

500

Server error