Skip to content

Refresh Token

watch.auth.session.refresh

The refresh token endpoint is used to obtain a new access token by providing a refresh token. This endpoint handles token renewal and management.

Headers

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.