FIREANIME API
Browse API97 operations
POST

GetDeviceLogin

GetDeviceLogin returns the safe-to-display details for a user code.

/api.v1.auth.AuthService/GetDeviceLogin Public
01

Request

GetDeviceLoginRequest

GetDeviceLoginRequestapi.v1.auth.GetDeviceLoginRequest1 fields

Get Device Login Request message.

userCode
string

User Code value.

Request JSON
{
  "userCode": "string"
}
02

Response

DeviceLogin

DeviceLoginapi.v1.auth.DeviceLogin6 fields

Device Login message.

status
DeviceLoginStatus

Status value.

deviceType
DeviceType

Device Type value.

deviceName
string

Device Name value.

userCode
string

User Code value.

expiresAtUnix
int64

Expires At Unix value.

sameNetwork
bool

A privacy-preserving hint; false is inconclusive because phones may use mobile data or VPNs.

Example response
{
  "status": "UNSPECIFIED",
  "deviceType": "UNSPECIFIED",
  "deviceName": "string value",
  "userCode": "string value",
  "expiresAtUnix": "1",
  "sameNetwork": false
}
03

Error handling

Common failure codes

invalid_argumentThe request payload failed validation.

internalThe service could not complete the operation.