Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/downloading-report-analytics-data-using-api

# Download Report Analytics data using API

Whatfix Report APIs can be used to download Reports analytics data in CSV format.

your title goes here

Different browsers and extensions can be used to perform the following task. In this article, Google Chrome browser with ModHeader extension is used as an example.

Use the following steps to download the data using API:

1. Install the extension - [ModHeader](https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpgkljpfnnfcklj?hl=en) from the Chrome Store. ![download\_modheader](/images/68/download_modheader-68d1966a.png)
2. Open the extension and enter the header **x-whatfix-integration-key** and its **Value**. ![integration\_key\_csv\_report\_api](/images/d2/integration_key_csv_report_api-d2bfb178.png)

your title goes here

The integration key value is your User API token. To get your API token, see [Generate the API token](https://support.whatfix.com/studio/docs/generating-the-api-token).

1. On the top right, click the **+** icon. ![click\_plus\_icon\_modheader](/images/93/click_plus_icon_modheader-93840bc1.png)
2. Select **Request header**. ![req\_header](/images/a6/req_header-a672f7c1.png)
3. Enter the next header **x-whatfix-user** and its value. The value is your Whatfix email address. ![whatix\_user\_header\_value](/images/86/whatix_user_header_value-866063a0.png)

your title goes here

- Ensure that the extension is not paused.
- If you're using multiple profiles, then ensure that you're using the correct profile.

4. Go to the [Whatfix Reports API](https://developer.whatfix.com/#tag/Summary-Reports).
5. Click **GET** on the top right and copy the URL: <https://whatfix.com/api/v1/&#123;accountId&#125;/reports/summary/mostPopularFlows> ![developer\_api](/images/b8/developer_api-b81b5be0.png)
6. Construct the URL to get the report.

your title goes here

To get your Account ID, contact [support@whatfix.com.](mailto:support@whatfix.com?Subject=Get%20my%20Account%20ID\&Body=Hello%20Team%2C%0A%0ARequesting%20you%20to%20kindly%20give%20me%20my%20Account%20ID.%20%0A%0A%0AThanks%20and%20regards.)

- Replace {accountId} with your Account ID value - <https://whatfix.com/api/v1/**XXXxXxXx-XXXx-XxXX-XXXX-XXXxxxXxxX**/reports/summary/mostPopularFlows>
- Add the format parameter at the end - <https://whatfix.com/api/v1/XXXxXxXx-XXXx-XxXX-XXXX-XXXxxxXxxX/reports/summary/mostPopularFlows**?format=csv>\*\* ![final\_url\_explain](/images/b0/final_url_explain-b09eeedc.png)

7. Copy and paste the final URL in a new tab and click Enter.

your title goes here

The CSV file is downloaded. ![csv\_Report\_download\_api](/images/84/csv_Report_download_api-848ddd4d.png)
