Object IDs

Okta orgs contain various objects, which may include apps, groups, users, realms, and so on.

One way to interact with these objects is through the Admin Console. For example, you can view the app instances installed in an org from the Applications page, and select an instance to view its details.

Another way to interact with these objects is to use Okta APIs. Admins often use these APIs when performing certain tasks such as automating processes. Each object has a unique ID that's used with the APIs to perform operations on them. The following is a guide that demonstrates how to retrieve some common types of IDs while using the Admin Console.

Get an app ID

Complete the following steps to retrieve the ID for an app instance:

  1. In the Admin Console, go to ApplicationsApplications.
  2. Click the app whose ID you want to get.
  3. The current URL includes the app ID. For example, if your URL is https://orgname-admin.okta.com/admin/app/appname/instance/0oa6a9uwbalsZ4enC0x7/#tab-assignments, then the app ID is 0oa6a9uwbalsZ4enC0x7.

Get a group ID

Complete the following steps to retrieve the ID for a group:

  1. In the Admin Console, go to DirectoryGroups.
  2. Click the group whose ID you want to get.
  3. The current URL includes the group ID. For example, if your URL is https://orgname-admin.okta.com/admin/00g63lwgl1qHdgDfZ0x7, then the group ID is 00g63lwgl1qHdgDfZ0x7.

Get a user ID

Complete the following steps to retrieve the ID for a user:

  1. In the Admin Console, go to DirectoryPeople.
  2. Click the user whose ID you want to get.
  3. The current URL includes the user ID. For example, if your URL is https://orgname-admin.okta.com/admin/user/profile/view/00u690dwq7LP0fTIF0x7, then the user ID is 00u690dwq7LP0fTIF0x7.

Get a realm ID

Complete the following steps to retrieve the ID for a realm:

  1. In the Admin Console, go to Directory Realms.
  2. Click the realm whose ID you want to get.
  3. The current URL includes the realm ID. For example, if your URL is https://orgname-admin.okta.com/admin/realms/guo87sjd1lTQXwGTm0x7, then the realm ID is guo87sjd1lTQXwGTm0x7.

Get a brand ID

Complete the following steps to retrieve the ID for a brand:

  1. In the Admin Console, go to CustomizationsBrands.
  2. Click the brand whose ID you want to get.
  3. The current URL includes the brand ID. For example, if your URL is https://orgname-admin.okta.com/admin/customizations/brands/bnd3go5kbbWGFBEyE0x7, then the brand ID is bnd3go5kbbWGFBEyE0x7.