Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What is

...

an API Key?

An API key, also called API key, is a code which allows you to have access to your admin UI without having to login using your username and password. Having such a code is elementary when you want to create automated exports in order to export data from the platform automatically.
A typical magic API key looks more or less like this:

...

Integrated in an export link, the magic API key needs to be added directly after the domain:

Code Block
https://export-demonet.ingenioustech.biz/256a6f26-b72b-37f8e24ee373/adm-statssubid_2209.csv?filter[a:advertiser]=123&filter[timerange_type]=dynamic&filter[timerange]=thisweek1&filter[a:status]=3

Managing

...

Getting started

API keys

Every user has a default API key which is generated by the system. You will find your API key by going to the Access → API-Key Manager page. There you will find a key named Auto-Generated API Key (Created By System). You only need to create an API key if you need multiples ones.

You can revoke the default API key by deleting it. The system will create a new default API key automatically.

Getting started

In case you want to have multiple API keys for different use cases, you can create additional keys:

Make sure you are logged in to your admin UI, go to the right corner in the top bar and scroll over your username. If you do so, a small menu will appear. Proceed to click on ‘credentials’ in the menuAccess → API-Key Manager in the side menu.

If you do so, a page will appear containing two panels. The upper panel allows you to change your password. The lower panel allows you to manage your magic keys. It will look more or less like this:

...

that lists all your API-Keys.

...

The panel offers you an overview of all the magic API keys you have created so far. From left to right, you will find the name, the key itself and date on which you last used it, the expiration data and finally the status. Under ‘action’ Actions, you can find icons via which you can buttons to copy, revoke, edit and delete the magic keyAPI-Key.

Creating a new

...

API key

To create a new magic API key, start by clicking on the button ‘create new magic key’ Create in the right top corner of the panel. If you do so, you will see a page looking more or less like this:

...

On this page, make sure you go through the following steps:

  • Image Removed

    Start by going to the left column of the page and  give your magic giving your API key a name. It is recommended to make sure the purpose of the key, such as exporting day to day reports, exporting ad media, etc.

  • Define an expiration date. When you magic API key has expired, it will no longer give access to your admin UI anymore. Please note this step is not mandatory and you can decide not to end the validity of your key, but for reasons of security it is recommended.

  • Make sure Set the status of your magic API key is on ‘active’.In the right column of the page, find a long list of different data you can export via your admin UI. Here, you need to define to what data the magic key should give access to. To secure access to specific data, all you need to do is click on the switch next to the text, until you see the switch move from ‘not allowed’ to ‘allowed’. Of course, you can create a generic magic key and secure access to all data, but due to reasons of security it is recommended to limit the amount of data your key gives access to.on Activated.

When you are done, make sure you click on ‘create’Save in the right lower corner of the page. If you do so, you will be taken back to the overview page, where you will see the new magic API key displayed.