Skip to main content
GET
/
devices
/
{id}
Retrieve a device
curl --request GET \
  --url https://api.flatpeak.com/devices/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "dev_63a6087272941ef077a8fd3e",
  "object": "device",
  "live_mode": true,
  "reference_id": "DEV1234567890",
  "last_seen": "2022-03-22T11:12:21Z",
  "time_created": "2022-01-24T14:15:22Z",
  "account_id": "acc_661677911f2197045e6cf1b1"
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required
Example:

Response

id
string
required
Example:
object
string
required
Example:
live_mode
boolean
required
reference_id
string
required
Example:
time_created
string
required
Example:
account_id
string
required
Example:
last_seen
string<date-time>
Example: