post https://api.scandoc.ai/ks/authenticate/refresh
This endpoint is used to refresh your access token using your refresh token
Refreshing your token is a simple procedure, just POST your refresh token onto this endpoint in the following JSON format:
{
"refresh_token": "<REFRESH-TOKEN>"
}
And you will receive a new access token in the following format:
{
"access_token": "<ACCESS-TOKEN>"
}
Your refresh token has a significantly longer duration than your access token. Access tokens are valid for a couple of minutes (5 minutes) and refresh tokens are valid for a day.