⚠️ Android only.
Retrieves the Google account records Esper has stored for a device's Google EMM enrollment.
Returns the Google user ID, Google device ID, and account type linked to the device. An empty results list means no Google account is linked.
About Device Google Accounts This endpoint reads Esper's records and does not query Google. To see what Google reports, use the emm-managed/ or policy/ endpoints for the same device.
Key Fields / Query Parameters
deviceId— UUID of the devicegoogle_authentication_token— Treat as a secret; don't log or display it
- Mock serverhttps://api.esper.io/_mock/openapi/v2/devices/{deviceId}/google-accounts/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v2/devices/{deviceId}/google-accounts/
curl -i -X GET \
'https://api.esper.io/_mock/openapi/v2/devices/{deviceId}/google-accounts/'Response
{ "content": { "count": 0, "previous": "string", "next": "string", "results": [ … ] } }