tenant_Google Enterprise

Complete EMM enrollment for a Google Enterprise

Completes Google EMM enrollment for a Google Enterprise.

Finalizes enrollment using the completion_token and enterprise_token returned by Google after the admin completed sign-up, activating the Google Enterprise binding for the tenant.

About Google EMM Enrollment This is the second and final step of the Google EMM enrollment flow, following POST /v2/emm/enrollment/begin/ and the admin completing sign-up on Google's hosted page.

Key Fields / Query Parameters

  • completion_token — Token returned by Google after sign-up completion
  • enterprise_token — Token returned by Google identifying the enterprise binding

Common Use Cases

  • Finalizing enrollment as the callback step after an admin completes Google's sign-up flow
  • Completing enrollment programmatically in a custom onboarding integration
  • Retrying completion if an earlier attempt failed transiently

Best Practices

  • Call this promptly after receiving the tokens from Google's redirect, since they are typically time-limited
  • Handle failures by checking enrollment status (GET /v2/emm/details/) rather than assuming the tokens can be reused indefinitely
  • Do not log completion_token/enterprise_token in plaintext

Workflow

  1. Receive completion_token and enterprise_token via the callback_url redirect from Google
  2. POST both tokens to this endpoint to finalize enrollment
  3. Confirm success via GET /v2/emm/details/
post/v2/emm/enrollment/complete/

Request

  • Base URL
    https://develop-api.esper.cloud/api
  • URL
    https://develop-api.esper.cloud/api/v2/emm/enrollment/complete/
  • Auth
    none declared. Required headers: Authorization

Headers

Authorizationstring required

Bearer token for authorization

Request body

completion_tokenstring required
enterprise_tokenstring required

Response

Successfully completed EMM enrollment

idinteger
google_enterprise_idstring
namestring
stateinteger
callback_urlstring
signup_urlstring
completion_tokenstring
enterprise_tokenstring
created_atstring date-time
updated_atstring date-time
tenant_idstring

Changes

No recorded changes to this operation across all 6 revisions of this API.