Skip to content

Get a phone

GET
/v1/devices/{deviceId}
curl --request GET \
--url https://your-machine.your-tailnet.ts.net/v1/devices/example \
--header 'Authorization: Bearer <token>'
deviceId
required
string

The phone.

Media typeapplication/json
object
device
object
id
string
name
string
connected
boolean
registeredAt
string format: date-time
lastSeenAt
string format: date-time
latencyMs

Round trip to the phone

integer
health

Latest report from the phone (on connect, every 60 s and on network changes).

object
battery
integer
<= 100
charging
boolean
network
string
Allowed values: wifi cellular ethernet other none
signal
integer
<= 4
carrier
string
audio

State of the phone’s call-audio helper.

string
Allowed values: running stopped pairing_required
appVersion
string
android
string
model
string
reportedAt
string format: date-time

Example

{
"device": {
"id": "phone-7f3a91c2",
"name": "Vivo V2348",
"health": {
"network": "wifi",
"carrier": "Jio",
"audio": "running"
}
}
}

Not found.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
issues

Validation details

Array

Example

{
"error": {
"code": "NOT_FOUND",
"message": "call not found"
}
}