1. Authorization
Last modified by Giorgi Mdivnishvili on 2024/04/26 15:59
Contents
Authorization: Starting Your Integration
The first step in integrating with our API is the authorization process. As a developer, you'll be assigned a unique username and password. These credentials are essential for generating the access token, a critical component that must be included in the headers of all subsequent API requests. This token validates your requests and grants you access to the full suite of our services.
Request URL - [POST]
Request Parameters
none
Request Body
{
"login": "string",
"password": "string"
}
"login": "string",
"password": "string"
}
Response Body
{
"accessToken": "string",
"refreshToken": "string",
"passwordExpired": true
}
"accessToken": "string",
"refreshToken": "string",
"passwordExpired": true
}
expiration time 30 days for both tokens:
accessToken - 43200 min
refreshToken - 2591968 sec
Schema
RefreshToken
To retrieve an existing accesstoken , you can make a request for the given endpoint below and pass in the body refreshToken, after that you will receive an accessToken. You can use this method at your discretion.
Request URL - [POST]
Request Parameters
none
Request Body example
{
"refreshToken": "string"
}
"refreshToken": "string"
}
Response Body
{
"accessToken": "string",
"refreshToken": "string",
"passwordExpired": true
}
"accessToken": "string",
"refreshToken": "string",
"passwordExpired": true
}