login

Use the endpoint to get one of the existing API keys or to create a new one. You can have a maximum of 10 API keys.

POST login

Description

Result

Get API key.

{

 "new_key": <true or false>

 "api_key": "<API key>"

 "start_date": "<date>"

 "name": <key name>

}

Parameters

Parameter

Type

Description

Required

login

string

User login.

Yes

password

string

User password.

Yes

new_key

boolean

Determines whether to create a new API key or to get one of the created earlier. By default new_key=false.

If you have not got any API keys created, you do not have to specify the parameter—API key will be created anyway.

No

name

string

The name that will be used to describe this API key.

No