v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14101465558.4 KB

Gets the user attributes and metadata for a user.

post/#X-Amz-Target=AWSCognitoIdentityProviderService.GetUser

Headers

X-Amz-Target'AWSCognitoIdentityProviderService.GetUser' required

Request body

AccessTokenstring password required

A non-expired access token for the user whose information you want to query.

Response

Success

Usernamestring password required

The user name of the user you want to retrieve from the get user request.

PreferredMfaSettingstring

The user's preferred MFA setting.

UserMFASettingListStringType[]

The MFA options that are activated for the user. The possible values in this list are <code>SMS_MFA</code> and <code>SOFTWARE_TOKEN_MFA</code>.