Download Ledger Export
GET/api/amazon/unified/ledgers/export/download
Stream a finished ledger export CSV back to the browser (using the export's file/download_url). Requires a Bearer token.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Only files produced by this export can be downloaded: any other file name returns 404.
Only the user who started the export, or an account admin, can download it; anyone else gets the same 404 as a missing file.
Request
Responses
- 401
- 403
- 404
- 429
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.