Fetch device details by ID
⚠️ Android only. This endpoint applies exclusively to Android-managed devices enrolled in Esper.
Alternative Available
Use the v2 endpoint /v2/devices/{id} for an updated and forward-compatible device model, especially in multi-OS environments.
Retrieves the full DeviceInfo record for a single enrolled device by its UUID. Returns comprehensive device metadata including hardware identifiers, enrollment state, group membership, applied and assigned blueprint versions, and status information. Use when you already have a device_id and need complete, authoritative device detail.
About Get Device
The DeviceInfo object is Esper's full representation of an enrolled Android device. It includes all fields returned in list results, plus any additional status and configuration detail associated with the device's current enrollment state. Device IDs are stable UUIDs and do not change after enrollment; they are the primary reference for all device-specific API operations — commands, app installs, event feeds, and status queries.
Key Fields
device_id — path parameter UUID; Esper's stable internal identifier for this device
Blueprint fields — reflect the gap between assigned_blueprint_id (what's intended) and current_blueprint_id / current_blueprint_version_id (what's applied)
Enrollment state — current device lifecycle state (see DeviceStateEnum)
Common Use Cases
Retrieve full device details after discovering a device_id from a list or event payload
Confirm current enrollment state before issuing a command or checking compliance
Inspect blueprint assignment vs. applied blueprint to detect configuration drift
Best Practices
Use this endpoint for authoritative single-device lookups rather than scanning list results — it avoids pagination overhead and returns a complete record. Check state before dispatching commands; commands may not execute on devices in offline or unenrolled states. Store the device_id UUID in your system — it is the stable key for all downstream device operations and does not change.
Workflow
Obtain device_id from a device list call, enrollment event, or stored reference. Call this endpoint to retrieve the full DeviceInfo record. Use the returned state and configuration data to determine the appropriate next action (command, install, group operation).
Path parameters
ID of the enterprise
ID of the device
Response
successful operation