Renew access token using refresh token

Exchanges a refresh_token for a new access_token and refresh_token pair, invalidating the previous refresh token.

Body
required
application/json
  • refresh_token
    Type: string
    required

    Refresh token

Responses
  • application/json
  • 400

    Invalid request

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/auth/oauth/renew
curl https://test.boost.space/api/auth/oauth/renew \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "refresh_token": ""
}'
{
  "access_token": "string",
  "token_type": "Bearer",
  "expires_in": 1,
  "refresh_token": "string",
  "scope": "string"
}