v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Refresh an access token

Purpose: Use this API to refresh an expired access token. Since an access token is valid for 24 hours, you must use this API to generate a new access token.

###Things to remember:

  • A newly generated refresh token is valid for 90 days (3 months). It will expire after this period.
  • A refresh token can only be used once. Caution: Invoking this API will deactivate the existing access tokens and generate a new access token. So use the Refresh an access token API only when an access token is about to expire or has already expired.

Note: Remove the hash (#) at the end, when using this API.

post/v1/tokens#

Request body

refresh_tokenstring required

Enter the refresh token that is provided to you when you generate an access token.

grant_typestring required

The grant type will be the refresh token. Enter refresh_token here.

Response

200