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
idof an entry whoseisAvailableForDownloadis 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 (
expiresAthas passed andisAvailableForDownloadis false) its file can no longer be downloaded. Regenerate it withPOST /exports/{exportId}, pollGET /exportsuntil the new export is listed under a new ID, and call this endpoint with that ID.
An expired export answers
500(Remote server error.), not400. That response cannot be told apart from a real fault, so decide fromisAvailableForDownloadandexpiresAtinGET /exports, not from the status code.
Request
Responses
- 200
- 401
- 404
- 500
The download URL.
The API key is missing, invalid, or lacks the EXPORTS operation.
No export with this ID in your account, or the export was requested from the web dashboard.
The export has expired, or unexpected server error.