All Collections
Monotype API
API: Refresh Tokens
API: Refresh Tokens
Parmvir Singh avatar
Written by Parmvir Singh
Updated over a week ago

The authentication token (auth token) issued for access to our APIs expires after one hour. To continue accessing our APIs beyond this hour, you can obtain a new access token by using the 'refresh_token' issued to you.

The refresh token should be used with '/oauth/token' call, which returns a new auth token.

Here is an example of how to refresh an expired token using the command line tool 'curl':

curl --request POST \

'https://api.monotype.com/v1/oauth/token' \

--header 'Accept: application/json' \

--header 'Content-Type: application/x-www-form-urlencoded' \

--data 'grant_type=refresh_token&refresh_token=<refresh_token_value>' \

--compressed
Did this answer your question?