Refresh Token
The refresh token endpoint is used to obtain a new access token by providing a refresh token. This endpoint handles token renewal and management.
Header |
Value |
Authorization |
Bearer api_key |
Endpoint
POST /v2/watch/auth/token/refresh
Request Body
{
"refresh_token": "<your JWT token>"
}
Parameter |
Type |
Description |
refresh_token |
String |
The JWT refresh token that was provided during the login API call. |
The Indee platform will authenticate the provided API key and refresh token validity and generate a new JWT Access Token.
Response Body
{
"status_code" : "W0000",
"token": "<new JWT access token>"
}
Field |
Type |
Description |
status_code |
Integer |
The Indee API status code. See the full list of codes in the Status Codes section. |
token |
String |
The new access token that can be used in subsequent API calls. |