Use this endpoint to get a short-lived presigned URL for downloading an inventory file. The URL is generated on demand and expires after 60 seconds, so you should redirect your user or begin the download immediately after receiving it.Documentation Index
Fetch the complete documentation index at: https://mappingtravel.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Request
GET https://api.mapping.travel/api/v1/inventory/{uploadId}/download
The UUID of the upload whose file you want to download.
Example
Response
UUID of the upload record.
Original filename of the inventory file.
File format:
CSV, JSON, EXCEL, or PARQUET.Presigned URL granting direct download access. No
Authorization header is required when fetching this URL.Time in seconds until the
downloadUrl expires. Always 60.Error codes
| Code | Description |
|---|---|
| 401 | Missing or invalid Bearer token |
| 404 | No upload found for the given uploadId in your organization |
| 429 | Rate limit exceeded |