You can reproduce most of the graphs/tables in the Blue Triangle portal with an API request (the primary exception is certain views in the Marketing Insights module, such as the Path Flow and Path Analytics tabs of the Customer Journey Analysis page). Please note that the API will return tabular data, even if you are trying to reproduce a graph, so we recommend using external graphing software (such as Excel/Tableau) to re-create the graph view.
The easiest way to reproduce a graph/table with an API request is to check if it has a "View JSON for API" option in the hamburger menu of the graph or table.
Once you click on “View JSON for API”, a popup should appear with the API URL, HTTP Method (typically GET or POST), and JSON request body that you can use to retrieve the data.
You can also reproduce the request on your own using the documentation pages for the API in the Help Center. This usually involves selecting the correct endpoint, setting the proper “group” and “dataColumn” values, and adding any desired filter options. For selecting the correct API endpoint, we recommend reviewing the “Overview of API Endpoints” section of the Blue Triangle API – Overview page.
If you do not see the “View JSON for API” option in the desired graph/table in the portal or if you need help reproducing a particular view, then feel free to contact your account team.