Skip to main content

May 15, 2025 Archived

Using UEM Functionality With a REST API

You can configure external applications to use the core product functionality of Workspace ONE UEM by integrating REST APIs with the UEM infrastructure and facilitate connectivity. You can also select an OAuth token URL closest to your data center to authenticate API calls.

Getting Started with REST APIs

Using simplified REST software architecture, Workspace ONE UEM REST APIs currently support multiple functionalities, including organization group, console administration, mobile application, mobile device, email, enrollment user, profile, smart group, and user group management.

Using REST-based APIs provide several benefits to enterprises, including eliminated cost and time spent developing applications in-house. Workspace ONE UEM REST APIs are fully able and ready to integrate with enterprise servers, programs, and processes. Workspace ONE UEM REST APIs are more efficient, can run smoothly, and can be easily branded with enterprises. These APIs are for application developers. This guide provides an understanding of design and architecture of the API library and facilitates custom development and integration with Workspace ONE UEM.

Accessing API Documentation

Review detailed API documentation by navigating to the Workspace ONE UEM API Help page.

  1. Sign in to the Workspace ONE UEM console as an administrator.
  2. In the address bar of your browser, replace the "cn" in the URL with "as" and then append /api/help after .com.

For example, API documentation for a SaaS environment URL of...

https://cn4855.awmdm.com

...is...

https://as4855.awmdm.com/api/help

Datacenter and Token URLs for OAuth 2.0 Support

Workspace ONE UEM supports the OAuth 2.0 industry standard protocol for secure authentication and authorization for REST API calls. Workspace ONE Token Service is the Token Issuer for OAuth authentication and is supported only in SaaS environments. The Token URLs are region-specific.

RegionWorkspace ONE UEM SaaS Data Center LocationToken URL
Ohio (United States)All UAT environmenthttps://uat.uemauth.workspaceone.com/connect/token
Virginia (United States)United Stateshttps://na.uemauth.workspaceone.com/connect/token
Virginia (United States)Canadahttps://na.uemauth.workspaceone.com/connect/token
Frankfurt (Germany)United Kingdomhttps://emea.uemauth.workspaceone.com/connect/token
Frankfurt (Germany)Germanyhttps://emea.uemauth.workspaceone.com/connect/token
Tokyo (Japan)Indiahttps://apac.uemauth.workspaceone.com/connect/token
Tokyo (Japan)Japanhttps://apac.uemauth.workspaceone.com/connect/token
Tokyo (Japan)Singaporehttps://apac.uemauth.workspaceone.com/connect/token
Tokyo (Japan)Australiahttps://apac.uemauth.workspaceone.com/connect/token
Tokyo (Japan)Hong Konghttps://apac.uemauth.workspaceone.com/connect/token

Create an OAuth Client to Use for API Commands (SaaS)

You can create an OAuth client to use for API commands, supported in SaaS environments only. Create an OAuth client for your SaaS environment by taking the following steps.

  1. Navigate to Groups & Settings > Configurations.

  2. Enter OAuth in the search text box labeled 'Enter a name or category'.

  3. Select OAuth Client Management that appears in the results. The OAuth Client Management screen displays.

  4. Select the Add button.

  5. Enter the Name, Description, Organization Group, and Role.

    Note: For more information about specific REST API permissions for the role you select, see the section in this topic entitled Create a Role That Can Use REST APIs.

  6. Ensure that the Status is Enabled.

  7. Select Save.

  8. IMPORTANT: Copy the Client ID and Client Secret to clipboard and save them before you close this screen. Select the Copy icon (The copy icon is in the shape of a clipboard.) to send the Client Secret to the clipboard.

    You cannot return here to retrieve these pieces of information after you select Close.

  9. Use the client ID, Client Secret, and Token URL to generate the access token in the following format:

    HTTP REQUEST

    API call: POST {Region-Specific Token URL from section above}

    INPUT PARAMETERS

    ParameterRequiredDescription
    tenant_urlYes (URL)Hostname of your tenant
    grant_type=client_credentialsYes (Body)Required to receive the access token
    application/x-www-form-urlencodedYes (Header)Format of the encoding
    Autorization: BasicYes (Header)You must pass the Base64 encoded string of the client_id:Client_secret
  10. Use the access token returned to authorize future API requests to Workspace ONE UEM API servers. You must format the access token in the request headers in the following way.

    API call: {UEM API}

    KeyValue
    Authorization{Access Token}

Create a Role That Can Use REST APIs

Each API call has a corresponding resource (or permission) that you must include in the role you assign to the OAuth Client. So the permissions to include in the role you assign line up with the kinds of API calls you are making.

Use the information in the following table to help you select which permissions you must include in the role you assign. Then visit the section titled Create Administrator Role in Role Based Access for instructions on making that role.

CategoryNameDescriptionRead Only / Edit
REST > AdminsREST API System GroupsAccess to organization group informationEdit
REST API System AdminAccess to admin infoEdit
REST API System UsersAccess to User InfoEdit
REST API Admins WriteEnables access to all write/update APIs in Admin users collectionEdit
REST API Admins ExecuteEnables access to all execute APIs in Admin users collectionEdit
REST API Admins DeleteEnables access to all Delete APIs in Admin users collectionEdit
REST API Admins ReadEnables access to all READ only APIs in Admin users collectionRead Only
REST > AppsREST API MAM BlobUpload download contentEdit
REST API MAM AppsAccess to managed appsEdit
REST API Apps WriteEnables access to all write/update APIs in Apps collectionEdit
REST API Apps ExecuteEnables access to all execute APIs in Apps collectionEdit
REST API Apps DeleteEnables access to all Delete APIs in Apps collectionEdit
REST API Apps ReadEnables access to all READ only APIs in Apps collectionRead Only
REST > Compliance PolicyREST API Compliance Policy DeleteEnables access to all Delete APIs in Compliance Policy collectionEdit
REST API Compliance Policy ExecuteEnables access to all Execute APIs in Compliance Policy collectionEdit
REST API Compliance Policy WriteEnables access to all Write APIs in Compliance Policy collectionEdit
REST API Compliance Policy ReadEnables access to all READ only APIs Compliance Policy collectionRead Only
REST > Custom AttributesREST API Custom Attributes ExecuteEnables access to all execute APIs in Custom Attributes collectionEdit
REST API Custom Attributes WriteEnables access to all write APIs in Custom Attributes collectionEdit
REST API Custom Attributes DeleteEnables access to all Delete APIs in Custom Attributes collectionEdit
REST API Custom Attributes ReadEnables access to all READ only APIs in Custom Attributes collectionRead Only
REST > DevicesREST API MDM Smart GroupsAccess to smart group infoEdit
REST API MDM User GroupsAccess to User GroupsEdit
REST API MDM ProfilesSend Lock/Unlock CommandsEdit
REST API MDM DevicesSend lock/unlock commandsEdit
REST API BLOBS WriteEnables access to all write/update only APIs in BLOBS collectionEdit
REST API BLOBS ExecuteEnables access to all execute only APIs in BLOBS collectionEdit
REST API BLOBS DeleteEnables access to all delete only APIs in BLOBS collectionEdit
REST API Devices WriteEnables access to all write/update APIs in Devices collectionEdit
REST API Devices ExecuteEnables access to all execute APIs in Devices collectionEdit
REST API Devices DeleteEnables access to all Delete APIs in Devices collectionEdit
REST API Devices AdvancedEnables access to all Advanced APIs in Devices collectionEdit
REST API BLOBS ReadEnables access to all read only APIs in BLOBS collectionRead Only
REST API Devices ReadEnables access to all READ only APIs in Devices collectionRead Only
REST > REST Enterprise IntegrationREST API Enterprise Integration ReadEnables access to all READ only APIs in Enterprise IntegrationRead Only
REST > GroupsREST API Groups WriteEnables access to all write/update APIs in Organization Group collectionEdit
REST API Groups ExecuteEnables access to all execute APIs in Organization Group collectionEdit
REST API Groups DeleteEnables access to all Delete APIs in Organization Group collectionEdit
REST API Smart Groups WriteEnables access to all write APIs in Smart Groups collectionEdit
REST API Smart Groups ExecuteEnables access to all execute APIs in Smart Groups collectionsEdit
REST API Smart Groups DeleteEnables access to all Delete APIs in Smart Groups collectionEdit
REST API User Groups WriteEnables access to all write/update APIs in User GroupsEdit
REST API User Groups ExecuteEnables access to all execute APIs in User GroupsEdit
REST API User Groups DeleteEnables access to all Delete APIs in User GroupsEdit
REST API Cart WriteREST API to save and edit Cart dataEdit
REST API Cart DeleteREST API to delete Cart dataEdit
REST API Apple School Manager WriteREST API to initiate Apple School Manager syncEdit
REST API Apple School Manager mapREST API to map an enrollment user to a member from Apple School ManagerEdit
REST API Class Assignments SaveREST API call to save class assignmentsEdit
REST API Class WriteREST API to save and edit class dataEdit
REST API Class DeleteREST API to delete class dataEdit
REST API Education settings WriteREST API to save and edit Education settingsEdit
REST API Education settings ReadREST API to view Education settingsEdit
REST API Groups ReadEnables access to all READ only APIs in Organization Group collectionRead Only
REST API Smart Groups ReadEnables access to all READ only APIs in Smart Groups collectionRead Only
REST API User Groups ReadEnables access to all READ only APIs in User GroupsRead Only
REST API Apple School Manager Sync ReadREST API to check the Apple School Manager sync statusRead Only
REST API Apps For Device ReadREST API to get a list of apps eligible for a deviceRead Only
REST API Class ReadREST API to view class dataRead Only
REST > ProductsREST API Products ExecuteEnables access to all execute APIs in Products collectionEdit
REST API Products WriteEnables access to all write APIs in Products collectionEdit
REST API Products DeleteEnables access to all Delete APIs in Products collectionEdit
REST API Products ReadEnables access to all READ only APIs in Products collectionRead Only
REST > ProfilesUpdates Policy Write accessEnables access to all WRITE APIs in Updates Policy collectionEdit
Updates Policy Execute accessEnables access to all EXECUTE APIs in Updates Policy collectionEdit
Updates Policy Delete accessEnables access to all DELETE APIs in Updates Policy collectionEdit
REST API Profiles WriteEnables access to all write APIs in Profiles collectionEdit
REST API Profiles ExecuteEnables access to all execute APIs in Profiles collectionEdit
REST API Profiles DeleteEnables access to all Delete APIs in Profiles collectionEdit
Updates Policy Read accessEnables access to all READ only APIs in Updates Policy collectionRead Only
REST API Profiles ReadEnables access to all READ only APIs in Profiles collectionRead Only
REST > UsersREST API Users WriteEnables access to all write/update APIs in Enrollment users collectionEdit
REST API Users ExecuteEnables access to all execute APIs in Enrollment users collectionEdit
REST API Users DeleteEnables access to all Delete APIs in Enrollment users collectionEdit
REST API User Tokens ReadEnables access to Enrollment user tokens for APIs in Enrollment User collectionRead Only
REST API Users ReadEnables access to all READ only APIs for Enrollment users collectionRead Only

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…