Whatagraph Public API provides the same reporting and monitoring functionality as the Whatagraph platform. You can use this service to push data to your Whatagraph account rather than request Whatagraph to pull data from the existing integrations.
This opens the possibility of connecting any website or other external data source to Whatagraph and visualizing its data on demand.
Getting started
In order to start pushing your data to the Whatagraph platform, you will need to generate an API key which will need to be integrated into your source code.
Step 1: Add Custom API source
While on your home screen, click on "Manage sources."
Select "Custom API sources" as your integration
Click on "Connect an account."
In the next step, name your source.
Click on "Add account."
Click to "Connect" the source to the source management.
Copy the "Access Token" key and pass it to your developers.
Step 2: Integrating API key
Pass the API key to your development team, and follow the documentation here.
Step 3: Creating a report with your Custom API source
Once you start pushing the data to Whatagraph, you can go ahead and start building your reports.
Click on "Create new" on your home screen.
Select the Custom API integration icon at the top of your builder bar.
Select a type of widget you would like to use, and drag and drop it to the report
When you click on the widget, you can edit its title and caption, assign a date, and select the metric to be visualized.
The available metrics list will depend on the data you are pushing through to the API.
Important note:
The external_id must Match the data's keyword, and it should not contain spaces and/or special characters.