Reports API

Base URL
Endpoints
1) List Reports
2) Download Report
Required permission
Rules
Reports sources
Visibility and security rules
Download workflow (high-level)

Authorizations
AuthorizationstringRequired
Query parameters
created_afterstring · dateOptional
Created after (inclusive)
created_beforestring · dateOptional
Created before (inclusive)
intervalstring · enumOptionalPossible values:
Report interval
daily- Dailyweekly- Weeklymonthly- Monthlyyearly- Yearly
limitintegerOptional
Number of results to return per page.
offsetintegerOptional
The initial index from which to return the results.
sourcestring · enumOptionalPossible values:
Report source
auto- Automanual- Manual
Header parameters
AuthorizationstringRequiredDefault:
Private API key to be provided in the format Api-Key <key>.
Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11loResponses
200Success
application/json
400Error
application/json
401Error
application/json
403Error
application/json
get
/b/api/v1/reports/files/How It Works
Authentication
Example Flow
# Step 1: List reports
curl -X GET 'https://your-domain.com/api/v1/reports/files/' \
-H 'Api-Key: your_private_api_key_here'
# Response includes:
# {
# "encrypted_id": "abc123...",
# "download_action": {
# "method": "GET",
# "url": "https://your-domain.com/api/v1/reports/files/<token>/download/"
# }
# }
# Step 2: Download using the URL from download_action
curl -X GET 'https://your-domain.com/api/v1/reports/files/<token>/download/' \
-H 'Api-Key: your_private_api_key_here' \
-o report.csvSecurity Features
File Delivery
File Formats
Authorizations
AuthorizationstringRequired
Path parameters
tokenstringRequired
Secure download token (UUID) from the download_action.url field in the list response. Tokens are time-limited and bound to the authenticated user.
Header parameters
AuthorizationstringRequiredDefault:
Private API key to be provided in the format Api-Key <key>.
Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11loResponses
200
Report file (CSV or XLSX). For S3: redirects to pre-signed URL.
application/json
Responsestring · binary
302
Redirect to pre-signed S3 URL (when S3 storage is enabled)
400
Invalid token (unknown alias or malformed token)
401Error
application/json
403
User is not authorized to download this file
404
Report or file not found
410
Download link has expired or is invalid
get
/b/api/v1/reports/files/{token}/download/1) List Reports
Name
Type
Required
Notes
2) Download Report
HTTP
code
message
When
Last updated