Using your access token

With the access token, you can now make authenticated requests to the Kolo API endpoints. This access token should be included in the Authorization header of your requests.

Example Request:

curl --location 'https://adjutor.lendsqr.com/v2/kolo/transactions' \
--header 'x-access-token;'

Refreshing the Access Token

Access tokens often expire quickly, causing issues with your API calls. In the instance where the access token expires, you can use the refresh token to obtain a new access token.

Endpoint:

POST https://adjutor.lendsqr.com/v2/kolo/auth

Request Body:

code=authorization_code&grant_type=refresh_token&redirect_uri=https://app.adjutor.io
ParameterDescription

code

The authorization code received from the previous step.

grant_type

Set this to refresh_token.

redirect_uri

The same redirect URI used in the authorization request.

Example Response:

{
  "access_token": "new_access_token",
  "token_type": "Bearer",
  "username": "customer's username",
  "scope": "transaction:list"
}

Last updated