Reset Password

watch.auth.password.reset_password

This API resets password for the user on the Indee platform.

Headers

The authorization header must carry the API key that was provided during application registration.

Header Value
Authorization Bearer api_key
ClientID platform-\<id>-app_version-\<id>

The ClientID header is required. It must have four hyphen-separated components, and the first component must be one of web, roku, firestick, fireos, appletv, ipad, tizen.

Endpoint

POST v2/watch/auth/reset-password

Request Body

    {
        "reset_token": "01j1ak6a8ytnsv0hrsgbkbfntv",
        "new_password": "Abcd1234",
        "confirm_new_password": "Abcd1234"
    }
Parameter Type Requirement Description
reset_token String Required The unique identifier of a password reset request. This is sent to the user in an email as a part of the reset link.
new_password String Required The new password set by the user. Must be at least 8 characters and contain an uppercase letter, a lowercase letter and a digit. It cannot contain whitespace, and cannot match a password the account has used before.
confirm_new_password String Required The new password again. Must match new_password exactly.

Response Body

    {
        "detail": "Password reset successfully",
        "status_code": "W0000",
        "status_message": "Success"
    }
Field Type Description
detail String Confirmation that the password was reset.
status_code String The Indee status code for the response.
status_message String Human readable message describing the response.

Status Codes

Indee status code HTTP Response Code Description
W0000 HTTP 200 Success
W2000 HTTP 401 Authorization header was either not passed or there was some issue parsing it
W2001 HTTP 401 API key is invalid or expired, or is not fully configured
W2003 HTTP 401 This watch product does not use password based authentication
W2009 HTTP 401 ClientID header was either not passed or is malformed
W2100 HTTP 403 Origin domain is not whitelisted for this API key
W2108 HTTP 403 Watch product is inactive
W2102 HTTP 451 Request blocked by geofencing for the resolved region
W4900 HTTP 400 A required field is missing, the two passwords do not match, the new password does not meet the complexity rules, or the reset token is invalid or has expired
W4907 HTTP 400 The new password matches a password the account has used before
W5001 HTTP 429 Rate limited
W5000 HTTP 500 Unknown server error occurred