Creating an API Connector connection
Written by
Updated at April 9, 2025
Note
This feature is only available with the Business service plan.
With the API Connector in Yandex DataLens, you can send HTTP requests to any API on the internet. Such a connection can only be used in Editor and is not supported in QL charts or dataset-based charts.
To create an API Connector connection, follow these steps:
-
Open the page you use to create a new API Connector connection
. -
Specify the connection parameters:
- Hostname. Specify the path to the host you will send a request to.
- Port. Specify the API connection port.
- URL path. Optionally, specify the path to the API (part of the URL
without a protocol, host name, or port). - HTTPS. Enable the secure connection option if your server supports HTTPS.
- Allowed methods. Select a method to send an HTTP request to the API. The available methods are
GET
andPOST
. - Public request headers and Private request headers. Add to your HTTP request the headers represented by key-value pairs. To do this, click Add, select a header, and enter its value. Private headers are stored privately in the connection settings. You cannot view any of them but you can replace them with new values.
-
Click Create connection.
-
Select a workbook to save your connection to or create a new one. If using legacy folder navigation, select a folder to save the connection to. Click Create.
-
Enter a name for the connection and click Create.