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

  1. While on your home screen, click on "Manage sources."

  2. Select "Custom API sources" as your integration

  3. Click on "Connect an account."

  4. In the next step, name your source.

  5. Click on "Add account."

  6. Click to "Connect" the source to the source management.

  7. 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.

  1. Click on "Create new" on your home screen.

  2. Select the Custom API integration icon at the top of your builder bar.

  3. Select a type of widget you would like to use, and drag and drop it to the report

  4. When you click on the widget, you can edit its title and caption, assign a date, and select the metric to be visualized.

  5. 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.

Did this answer your question?