Steps of using API

Using API one can get analytics of Eskimi platform as well as do other operations like creating campaigns etc. In this article the steps of using API is described. 

Create API Client Secret from Eskimi profile:

    1. In the dashboard UI page, in the top right corner click the three dot icon.
    2. Click on "API Clients".
    3. In API Clients UI page, in the top right corner click "Add Client".
    4. Enter the Client name (The name does not matter, it won't be used for the access token), and click on "Generate" for Client Secret.
    5. Save the changes and the API client will be created that will be used for getting Access Token.

ScreenRecording2024-04-11at10.44.19-ezgif.com-video-to-gif-converter.gif

Once you have created API Client you can create Access Token for it.

Create Access Token

There are 2 ways on creating Access Token:

     1. Create Access Token through Eskimi DSP:

      1. After saving press the three dot icon on the right of the desired Client.
      2. Click on "Edit".
      3. Now you should be able to click "Generate Client Token" button.
      4. Enter your account password for security reasons and click "Confirm Identity & Generate"
      5. Client's Token will be generated and click "Copy" to save and use it later. 
      6. Click Save

image.png

Token expiration term: 1 year.

     2. Create Access Token through HTTP Request

{ 
  "grant_type": "eskimi_dsp", 
  "username": "dsp_username", 
  "password": "Password", 
  "client_id": client_id, 
  "client_secret": "client_secret"
}

A request example for reporting endpoints:

curl 'https://dsp-api.eskimi.com/api/v1/report/campaigns/get?advertiserId=1&byDate=1&byCampaign=1&dateFrom=2026-01-01&dateTo=2026-01-30' \
-H 'authorization: Bearer {ACCESS_TOKEN}'

From your parent account, you can access your child account data via API.



API Limitations:


Revision #27
Created 9 September 2021 12:19:30 by Hasnain Shahriar
Updated 17 June 2026 13:27:45 by Beata