Forgot Password
watch.auth.password.forgot_password
This API send an email containing a link to reset the password.
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/forgot-password
Request Body
{
"email": "user@example.com"
}
| Parameter | Type | Requirement | Description |
|---|---|---|---|
email |
String | Required | The email address used by the user during registration on the Indee platform. |
Response Body
The same response is returned whether or not an account exists for the email address, so the endpoint cannot be used to discover which addresses are registered.
{
"message": "Thanks for reaching out! We have sent you a reset link to your email.",
"status_code": "W0000",
"status_message": "Success"
}
| Field | Type | Description |
|---|---|---|
message |
String | Confirmation shown to the user. |
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 |
| 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 |
| W5001 | HTTP 429 | Rate limited |
| W5000 | HTTP 500 | Unknown server error occurred |