Retrieve Attribute Details for an Application User via Okta API
Last Updated:
Overview
Retrieving attribute details for a user assigned to an application requires using the Okta Application API. Retrieve this information by making a GET request to the Application Users endpoint with the specific application and user IDs. This process allows administrators to view all attributes mapped to a specific application user profile.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Okta API
- Application Assignments
- User Attributes
Solution
What Okta API endpoint retrieves attribute details for an application user?
Configure an API client, download the Okta API collections, and retrieve the attribute details for a specific user assigned to an application by identifying the required IDs and performing a GET request to the Application Users endpoint.
- Install and integrate an API client (such as Postman) with Okta.
- Download the desired Okta API collections.
- Navigate to Application Users API and select the Retrieve an application user API command.
- Execute a
GETrequest to the following endpoint:- GET /api/v1/apps/<appId>/users/<userId>
- Okta returns a 200 OK response containing the attribute data. Review the response to locate the attributes within the profile object of the returned App User resource. It specifies the default and custom profile properties for a user.
Related References
