Following process describes how to renew your application's access token if a refresh token is present.
curl --request POST \
--url 'https://auth.loomai.com/oauth/token' \
--header 'content-type: application/x-www-form-urlencoded' \
--data grant_type=refresh_token \
--data client_id={CLIENT_ID} \
--data refresh_token={REFRESH_TOKEN}
{
"access_token": "eyJz93a...k4laUWw",
"token_type": "Bearer",
"expiry": 3600
}