Get a specific web token for a Google Enterprise (EMM) instance. See Setting Up Google Play for more information. Retrieves the details of a single web token identified by webtoken_id, including its token value, associated emm ID, parent_url, active status, and creation timestamp.
Common Use Cases Verifying the active status and parent_url of a specific token before using it to render the Managed Google Play iFrame, retrieving token details for auditing or troubleshooting app management issues, and confirming a token's configuration before updating or deleting it.
Workflow:
- Call GET /v0/enterprise/{enterprise_id}/emm/ to retrieve the emm_id for the enterprise's Google Enterprise binding.
- Call GET /v0/enterprise/{enterprise_id}/emm/{emm_id}/webtoken/ to list all web tokens and identify the webtoken_id for the token you want to inspect.
- Call this endpoint to retrieve the full details of the specific token.
- If the token is active and the parent_url is correct, use the token value to authenticate the Managed Google Play iFrame.
- Use PUT /v0/enterprise/{enterprise_id}/emm/{emm_id}/webtoken/{webtoken_id}/ to update the token, or DELETE to remove it if it is no longer needed. After deleting, reach out to Esper Support.
Security
esper_cloud_api_apiKey
- Mock serverhttps://api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/emm/{emm_id}/webtoken/{webtoken_id}
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v0/enterprise/{enterprise_id}/emm/{emm_id}/webtoken/{webtoken_id}
curl -i -X GET \
'https://api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/emm/{emm_id}/webtoken/{webtoken_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "id": 0, "emm": 0, "token": "string", "parent_url": "string", "is_active": true, "created_on": "2019-08-24T14:15:22Z" }