Basic information

Refresh existing token

post/token/refresh

Request

  • Base URL: https://api.huntflow.ru/v2
  • URL: https://api.huntflow.ru/v2/token/refresh
  • Auth: none declared

Request body

refresh_tokenstring required

Refresh token

Example request

{
  "refresh_token": "123abc"
}

Response

Successful Response

access_tokenstring required

New access token

token_typestring required

Token type

expires_ininteger required

Token lifetime in seconds

refresh_token_expires_ininteger required

Refresh token lifetime in seconds

refresh_tokenstring required

New refresh token

Example response

{
  "access_token": "def456",
  "token_type": "bearer",
  "expires_in": 604800,
  "refresh_token_expires_in": 1209600,
  "refresh_token": "ghi789"
}

Changes

No recorded changes to this operation across all 1 revision of this API.