Authorization token

 

RU

 

UA

US

RU

 

 


Getting an authorization token
To use the API, you need to obtain a special code - an authorization token.
To implement this, go to Settings (1) → Integrations (2) → Leeloo API (3) → Tokens (4) → Copy to clipboard (5).

You can also update the token (6).

On this page you can also enable Webhook (7). You can learn more about Webhook in the enWebHooks (API) instructions.

Required: Make sure to copy the token without spaces at the beginning and at the end.

 

1 - Settings section.

2 - subsection Integration.

3 - Leeloo API page.

4 - field where the Token is indicated.

5 - button for copying a token.

6 - button that updates the token.

7 - button that enables Webhook.

 

 

Token usage
Further work with the API occurs through http requests.
You need to pass your token with every request, to do this, place it in the request header 'X-Leeloo-AuthToken'.

Queries are described in the following articles:

Client accounts (Accounts);
Orders;
Tunnels;
Users;
WebHooks.