Authorization
Authorization
To authorize your application and make further api requests, you should receive API Token at first.
Using your's username
and password
, make api request to authorize your app.
Example:
{
"client_id": "...",
"client_secret": "...",
"username": "your-username",
"password": "your-password"
}
Response:
{
"token_type": "Bearer",
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refresh_token": "def50200345d39dd6a722204211d4210...",
"expires_in": 31536000
}