Download Report
Reports API
Download Report
Get download information for a completed report
GET
Download Report
Overview
This endpoint provides secure download information for a completed report. Instead of directly returning the file, it provides a time-limited download URL for security purposes.Authentication
Requires a valid OAuth 2.0 access token with thereports:read scope.
Request
Bearer token for authentication
The encrypted ID of the report to download
Example Request
Response
Always
false for successful requestsSuccess message
Download information and metadata
Success Response
Security Features
Time-Limited URLs
Download URLs expire after 1 hour for security
Signed URLs
URLs include cryptographic signatures to prevent tampering
Single Use
URLs may be limited to single use depending on report sensitivity
Access Logging
All download attempts are logged for audit purposes
Download Process
- Get Download Info: Call this endpoint to get the secure download URL
- Download File: Use the returned URL to fetch the actual file
- Handle Expiry: If the URL expires, call this endpoint again for a fresh URL
Complete Download Example
- JavaScript
- Python
Error Responses
Best Practices
Check Status First
Verify the report status is “completed” before attempting download
Handle Expiry
Implement retry logic for expired download URLs
Validate File Size
Check the expected file size matches what you receive
Secure Storage
Store downloaded reports securely if caching locally
Related Endpoints
- List Reports - Get all available reports
- Get Report - Get report metadata and status