/

to search

#Test Setu Insights APIs with Postman

#Download and set up Postman

Download and setup the Postman App, if you haven’t already. All APIs required for using Setu Insights have been published in this collection. Click on Run in Postman button on the top right corner to import Setu Insight's API collection to Postman.

Update environment variables

To edit environment variables in Postman, click on the Environments and go to Sandbox.


Postman environment comes wth default test credentials, which are passed as headers for every request in the collection. Set the following variables in the environment on Postman—

  • Set clientId to the FIU app client ID received from our support team. This variable is passed as the x-client-id header.
  • Set clientSecret to the FIU app client secret received from our support team. This variable is passed as the x-client-secret header.
  • Set productInstanceId to the FIU product instance ID received from our support team. This variable is passed as the x-product-instance-id header.

Remove any new lines at the end after pasting values, to avoid errors.


Hit Save after all the changes are complete.


Next, you're now ready to feed data and generate insights by trying the following APIs provided in the Postman collection—

  • Data ingestion APIs—Create FI Data blocks and get list of created FI data blocks
  • Insight generation APIs—Create Insights reports and fetch generated reports

Was this page helpful?