# Get User Devices

div
div
Client SDK
div
Backend API
div
Mobile approve
div
SSO
div
Sub-journey
> Retrieves a list of devices associated with a user


## Description

This step retrieves all devices registered to a specific user in the context of the current application. The result is an array of Device objects, each containing device identity and status information.

Use this step when building device management flows, for example display the user's device list and identify devices that should be removed or suspended.

## Configuration

div
| Field | Description |
|  --- | --- |
| **User auth state** | Indicates if the user has authenticated in this journey. If the user is authenticated (default), the user context is provided implicitly by the journey. If not, a user identifier must be configured. |
| **Identifiers** | Only configured if the journey doesn't authenticate the user before invoking this step. Can be an external user ID, email, phone number, username, or a [custom identifier](/guides/user/manage_user_schema), if configured for B2C users in your tenant. |
| **Error output variable** | Name of the variable that stores any errors returned by the action |
| **Output variable** | Variable used to store the array of Device objects, available for use in subsequent journey steps. |
| **Failure behavior** | Determines the behavior in case of failure, which either aborts the journey (default) or proceeds to a failure branch of the control flow. |


Journey event data
This step can be configured to record step input and output data, or a custom payload, which is then surfaced in journey events in Journey Analytics for diagnostic purposes. For details, see [Additional data reporting](/guides/orchestration/getting-started/event_reporting).