Skip to main content
GET
/
v1
/
devices
/
{id}
Get a device by ID with its linked entities
curl --request GET \
  --url http://0.0.0.0:3000/v1/devices/{id} \
  --header 'Authorization: Bearer <token>'
{
  "device": {
    "id": 123,
    "name": "<string>",
    "manufacturer": "<string>",
    "model": "<string>",
    "config_entry_id": 123,
    "user_id": "<string>"
  },
  "entities": [
    {
      "id": 123,
      "entity_id": "<string>",
      "name": "<string>",
      "domain": "<string>",
      "platform": "<string>",
      "unique_id": "<string>",
      "config_entry_id": 123,
      "device_registry_id": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Successful response

device
object
entities
object[]