Skip to main content

Get export download URL

GET 

/api/partner-gateway/exports/:exportId

Returns a pre-signed download URL for the file of an export listed by GET /exports.

  • When to call it: with the id of an entry whose isAvailableForDownload is true.
  • The URL is time-limited: while the export has not expired, call this endpoint again for a fresh URL.
  • Once the export has expired (expiresAt has passed and isAvailableForDownload is false) its file can no longer be downloaded. Regenerate it with POST /exports/{exportId}, poll GET /exports until the new export is listed under a new ID, and call this endpoint with that ID.

An expired export answers 500 (Remote server error.), not 400. That response cannot be told apart from a real fault, so decide from isAvailableForDownload and expiresAt in GET /exports, not from the status code.

Request​

Responses​

The download URL.