Get a phone
GET
/v1/devices/{deviceId}
const url = 'https://your-machine.your-tailnet.ts.net/v1/devices/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-machine.your-tailnet.ts.net/v1/devices/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”deviceId
required
string
Responses
Section titled “Responses”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
charging
boolean
network
string
signal
integer
carrier
string
audio
State of the phone’s call-audio helper.
string
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" }}