How do I export a report with the Cloud Reporting API?
In Bold Reports® Cloud, users with read access to reports can export them with the REST API by providing the report details and export type (Microsoft Excel, PDF, HTML, PPT, CSV, XML or Word) in the request body. The response will be an array of bytes.
How to export a report using the REST API
To export a report, send a POST request to reporting/api/site/v1.0/reports/export with an access token and a JSON body that contains the report ID and export type.
Before you export a report with the REST API, make sure you have:
- Read access to the report.
- An access token. See Generate the authentication token using API.
- The ID of the report.
- The Postman application.
-
Open the
Postmanapplication and create a newPOSTHttp request. -
First, generate the authentication token.
-
In request URL, provide your Bold Reports® Report Server URL and append
reporting/api/site/v1.0/reports/exportfor export report. -
In the Headers section, add
Authorizationas the key andbearerfollowed by the generated token as the value.
-
In the Body section, select raw, and then select JSON.
-
In the body, enter the report ID and export type as JSON, for example
{"ReportId":"<report-id>","ExportType":"Pdf"}. -
Click Send. The response returns the exported file as an array of bytes.

Frequently asked questions
How do I export a report with filter parameters?
Follow Export the report with filter parameter using API. That request passes the report ID and export type in the path and the filter values in JSON.
How do I send the access token in the export request?
Add an Authorization header with the value bearer followed by the token. Generate the token first with the Authentication API.
Where is the export report API reference?
The export operation is documented in the REST API v1.0 reference.