Skip to main content
All CollectionsConnect
How to work with Whatagraph API
How to work with Whatagraph API

Learn how to connect your Custom API to Whatagraph

Daumante Kubiliunaite avatar
Written by Daumante Kubiliunaite
Updated over a week ago

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 allows connecting any website or other external data source to Whatagraph and visualizing its data on demand.

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 by clicking on "Manage sources." Select "Custom API sources" as your channel, and click on "Connect an account." In the next step, name your source and click on "Add account." Then, click to "Connect" the source to the source management.
​

Step 2. Copy the "Access Token" key, pass it to your developers, and follow the documentation here.

Step 3. Once you start pushing the data to Whatagraph, you can start building your reports. More information on how to do that can be found here.

Note: The available metrics list will depend on the data you are pushing through to the API. Also, the external_id must Match the data's keyword, and it should not contain spaces and/or special characters.

Tips on using a Custom API source:

  1. Due to the large amount of data that has to be pulled from the source, we recommend dividing the sources by the client/advertiser to avoid slow fetching issues. This way, fewer rows of data would need to be pulled from the API, and the widgets in the report would pull the data much faster.

For more information about how to work with Whatagraph's API, please see the video below:
​

Did this answer your question?