Skip to content

Get the Google EMM Policy details for a specific device.
Stable

Request

Retrieves the Google EMM policy details currently applied to a specific device.

Returns the Google EMM policy configuration (including managed applications) associated with the device's Google account enrollment.

About Device Google EMM Policy When a device is enrolled via Google EMM, Google maintains a policy for that device (distinct from, but often derived from, an Esper Enterprise Policy) that governs managed app behavior. This endpoint reflects that policy as currently applied on the Google side.

Key Fields / Query Parameters

  • deviceId — UUID of the device whose Google EMM policy to retrieve
Path
deviceIdstring, (uuid)required

ID of the device for which to retrieve the Google EMM policy

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v2/devices/{deviceId}/google-accounts/policy/'

Responses

Success

Bodyapplication/json
android_idstring

Unique identifier for the Android device.

management_typestring

The management type of the device (e.g., managedDevice).

policyobject(device_Policy)
Response
{ "android_id": "string", "management_type": "string", "policy": { "auto_update_policy": "string", "device_report_policy": "string", "product_availability_policy": "string", "product_policy": [ … ] } }