Skip to content

Get Google enterprise information
Stable

Request

Get a specific Google Enterprise (EMM) instance for the enterprise. Retrieves the details of a single Google Enterprise binding identified by emm_id, including its association with the Esper enterprise and the google_enterprise_id that links it to Google's EMM infrastructure.

Common Use Cases

Confirming the details of a specific EMM binding before performing GMS-dependent operations, retrieving the google_enterprise_id for use in downstream Workflows, and validating that the correct EMM instance is associated with the enterprise before managing web tokens or Google Play applications.

Workflow

  1. Call GET /v0/enterprise/{enterprise_id}/emm/ to retrieve the emm_id.
  2. Call this endpoint to confirm the details of a specific EMM instance.
Security
esper_cloud_api_apiKey
Path
enterprise_idstringrequired

A UUID string identifying this enterprise.

emm_idintegerrequired

An integer representing the ID of enterprise.

cURL
curl -i -X GET \
  'https://api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/emm/{emm_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

successful operation

Bodyapplication/json
idinteger(Id)
google_enterprise_idstring(Google Enterprise Id)
namestring(Name of Google Enterprise)required
stateinteger
callback_urlstring, (url)
signup_urlstring, (url)
completion_tokenstring
enterprise_tokenstring
is_activeboolean
created_onstring, (date-time)
updated_onstring, (date-time)
enterprisestring
Response
{ "id": 0, "google_enterprise_id": "string", "name": "string", "state": 0, "callback_url": "string", "signup_url": "string", "completion_token": "string", "enterprise_token": "string", "is_active": true, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "enterprise": "string" }