How do I pass filter parameters when exporting by API?
In Bold Reports® Cloud, users with read access to a report can export it with the REST API. Send the report details, filter parameters, and export type (Microsoft Excel, PDF, HTML, PPT, CSV, XML or Word) in the request body.
How to export a report with filter parameters
Before you export a report with filter parameters through 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 and the filter parameter values.
- The Postman application.
-
Open the Postman application and create a new
POSTHTTP request. -
First, generate the authentication token.
-
In request URL, provide your Bold Reports® Report Server URL and append
/api/v1.0/reports/{reportId}/{exportType}/export-filterfor export report -
In the Headers section, add
Authorizationas the key, and enterbearerfollowed by the generated token as the value.

-
In the Body section, select raw, and then select JSON.
-
Pass the report ID and export type as path parameters, and pass the filter parameter values in JSON.
-
Click Send. The response is the exported report as an array of bytes.

Frequently asked questions
What does the export filter API return?
The Bold Reports® Cloud export filter API returns the exported report as an array of bytes.
How is a filtered export different from a plain export?
A filtered export passes report parameter values in the JSON body, so they are applied before export. For a plain export, see Export the report using API.
How do I send the access token in the request?
Add an Authorization header with the value bearer followed by the token. Generate the token first with the Authentication API.