Refresh Token Flow
Following process describes how to renew your application's access token if a refresh token is present.
Request
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}
Parameter
Description
grant_type
Set to refresh_token
client_id
Your application's Client ID.
refresh_token
Your previously obtained refresh token. See Authorization Scopes for details.
Response
{
"access_token": "eyJz93a...k4laUWw",
"token_type": "Bearer",
"expiry": 3600
}
Last updated
Was this helpful?