Refresh Token

Get the access token using the refresh token. Get familiar with the API endpoint with request and response.

Request Schema

ParameterTypeRequiredDescription
grant_typestringYesMust be "refresh_token" for this API.
refresh_tokenstringYesThe previously issued refresh token used to obtain a new access token.
client_idstringYesThe client identifier provided by Xoxoday.
client_secretstringYesThe client secret associated with the client ID. Used to authenticate the refresh request.

Response Schema

ParameterTypeDescription
access_tokenstringNewly issued access token to be used for authenticated API calls.
token_typestringToken type. Always "bearer".
expires_innumberLifetime of the access token in seconds.
refresh_tokenstringNewly issued refresh token. Use this to generate new access tokens when current one expires.
access_token_expirystringEpoch timestamp (milliseconds) indicating expiry time of the access token.
refresh_token_expirystringEpoch timestamp (milliseconds) indicating expiry of the refresh token.

📘

Learn how to manage your access and refresh tokens here.

Language
Click Try It! to start a request and see the response here!