GET Report Visualization via API

I have the requirement to get the image of the report visualizations/chart via API to use it in a client-specific newsletter.

The idea is that I can pass in the correct parameters for the client and retrieve via API the visualization of that report.

----- BELOW IS AN IDEA OF THE EMAIL I WOULD BE SENDING --------

Hey ,

I’m excited to bring you the first Newsletter tailored specifically for . The goal is to highlight areas of optimization for the platform by providing insight into your account as well as industry benchmarks so you can get the most out of the platform:

Here is your spend growth:
<Report 1's Chart >

It looks like you have more users this month:

<Report 2's Chart >

Thank you,

You can try calling /api/pulse/preview_card_png/:card_id

Can we add filter for the card in the request?

Not for that endpoint unfortunately. You'll have to either modify the code or use other endpoints and build the visualization on your side

1 Like