FIREANIME API
Browse API97 operations
POST

ConfirmDeviceLogin

ConfirmDeviceLogin approves a pending request using the signed-in account.

/api.v1.auth.AuthService/ConfirmDeviceLogin Bearer required
01

Request

ConfirmDeviceLoginRequest

ConfirmDeviceLoginRequestapi.v1.auth.ConfirmDeviceLoginRequest1 fields

Confirm 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

unauthenticatedThe Bearer token is missing or invalid.

invalid_argumentThe request payload failed validation.

internalThe service could not complete the operation.