# How to display Optimize reports in custom frontend applications

**URL:** <https://forum.camunda.io/t/how-to-display-optimize-reports-in-custom-frontend-applications/54092>\
**Category:** Camunda 8 Topics\
**Tags:** optimize\
**Created:** [August 6, 2024, 6:53pm UTC](https://forum.camunda.io/t/how-to-display-optimize-reports-in-custom-frontend-applications/54092 "2024-08-06T18:53:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaik.Saleem](https://forum.camunda.io/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Shaik.Saleem](https://forum.camunda.io/u/Shaik.Saleem)\
**Post date:** [August 6, 2024, 6:53pm UTC](https://forum.camunda.io/t/how-to-display-optimize-reports-in-custom-frontend-applications/54092/1 "2024-08-06T18:53:06Z")

</div>

Hi all,

I would like to know the best possible options to display the optimize reports in custom front end application (react) and is there any project available in GitHub for the same.  
I have explored the optimize api and I am not very comfortable with it as It need multiple api calls to get a single report data.

Thanks,  
Saleem

---

<div class="post-metadata">

**Author:** ![mimaom](https://forum.camunda.io/letter_avatar_proxy/v4/letter/m/58956e/32.png) [@mimaom](https://forum.camunda.io/u/mimaom)\
**Post date:** [August 7, 2024, 7:14am UTC](https://forum.camunda.io/t/how-to-display-optimize-reports-in-custom-frontend-applications/54092/2 "2024-08-07T07:14:24Z")

</div>

Hi @Shaik.Saleem

Optimize supports creating a shared link to a complete dashboard.  
Would it be an option to embed or simply link to that from your application?

BR  
Michael

---

<div class="post-metadata">

**Author:** ![Shaik.Saleem](https://forum.camunda.io/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Shaik.Saleem](https://forum.camunda.io/u/Shaik.Saleem)\
**Post date:** [August 7, 2024, 12:03pm UTC](https://forum.camunda.io/t/how-to-display-optimize-reports-in-custom-frontend-applications/54092/3 "2024-08-07T12:03:47Z")

</div>

Hi Michael,

Thanks for the reply.  
I am looking for an option to proivde data to custom application through the api ( preferably with an single consolidated api which will give complete report data ) and the custom front end application will use that as a source and display the report.

Thanks,  
Saleem

---

<div class="post-metadata">

**Author:** ![mimaom](https://forum.camunda.io/letter_avatar_proxy/v4/letter/m/58956e/32.png) [@mimaom](https://forum.camunda.io/u/mimaom)\
**Post date:** [August 9, 2024, 12:08pm UTC](https://forum.camunda.io/t/how-to-display-optimize-reports-in-custom-frontend-applications/54092/4 "2024-08-09T12:08:12Z")

</div>

Hi @Shaik.Saleem

I am not sure what you mean by “complete report data”?

I take it you have already looked at this:

> **[Overview | Camunda 8 Docs](https://docs.camunda.io/optimize/apis-tools/optimize-api/overview/)**
>
> Get, delete, and export reports and dashboards, enable and disable sharing, and more with the Optimize API.

It shows how to interact with the Optimize REST API.  
I have not tried this, but I think you can get the raw process data for a report like this.

Notice that it seems you need to know the collection ID. I could not find an endpoint the returns the current collections.

- For every collection ID
  - Get the report ID’s ([Get report IDs | Camunda 8 Docs](https://docs.camunda.io/optimize/apis-tools/optimize-api/report/get-report-ids/))
    - For each report ID
      - Export the report data ([Export report result data | Camunda 8 Docs](https://docs.camunda.io/optimize/apis-tools/optimize-api/report/get-data-export/))

Notice that the call to export report data is paginated, so it needs the searchRequestId returned in the first reply. This is needed in the following pagination calls.

I Hope that helps.

BR  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [November 7, 2024, 12:09pm UTC](https://forum.camunda.io/t/how-to-display-optimize-reports-in-custom-frontend-applications/54092/5 "2024-11-07T12:09:02Z")

</div>

Closed on November 7, 2024, 12:09pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
