Skip to content

Getting started

Access to the Liner API is provided by creating a separate integration in the Liner interface.
Each integration uses its own authorization token and a set of allowed API methods.

To start working with the API, you need to create a new integration and obtain an access token.

Recommendation

It is recommended to create separate integrations for each application/source/ad campaign for greater security and resilience.

Creating an integration

Before you start working with the Liner API, you need to create an integration. Follow these steps:

  1. Sign in to Liner using an account with the Moderator role.
  2. In the left menu, go to: ParametersIntegrations.
  3. Open the modal window by clicking the button in the top-right corner: “Create a integrations”.
  4. Select the integration type: Liner API.
  5. In the modal window that opens:
    • enter the Title;
    • specify the Token Expiration;
    • select the required API methods;
    • enable request logging if needed;
    • make sure to save the value from the “Token” field before saving — after saving, the token will be hidden and it will be impossible to view it again.
  6. Click “Save”.

The saved token is used for authorization when working with the Liner API and SDK.
Include the token in every request according to the requirements of the selected integration method.