QR Login
watch.auth.session.qr.login
This API allows you to login users with QR code.
Headers
The authorization header must carry the API key that was provided during application registration.
| Header | Value |
|---|---|
| Authorization | Bearer api_key |
Endpoint
Request Body
| Parameter | Type | Description |
|---|---|---|
type |
String | Specifies the type of authentication. The allowed values are [pin, password]. |
credentials |
Object | Specifies your authentication credentials. This can be PIN of username and password defined. See samples below. |
persist |
Boolean | Specifies if the user needs to be logged in for a longer period of time. |
Request Body (type = pin)
Send the following request body when authenticating using PIN:
Body (type = password)
Send the following request body when authenticating using username and password:
{
"type": "password",
"credentials": {
"username": "john.doe@indee.tv",
"password": "yourpasswordhere"
}
}
Response Body
| Field | Type | Description |
|---|---|---|
status_code |
Integer | The Indee API status code. See the full list of codes in the Status Codes section. |