Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Export user information API

Download OpenAPI (YAML)Version v1

Base URL: https://api.asgardeo.io/t/<ORGANIZATION_NAME>/api/identity/user/v1.0

The WSO2 Identity Platform - Export user profile information API (version v1).

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

You can use the following OAuth grant type to securely access the respective API endpoints.

Authorization Code OAuth Flow

Authorization URL: 'https://api.asgardeo.io/t/{org-name}/oauth2/authorize'

This flow type is used for the me endpoint of TOTP APIs. You can use the following scope for this endpoint.

  • internal_login: Grant permission for an authenticated user for self-management.

me​

Operations for the authenticated user.

Export user profile​

GET /me

This API is used to export the user's information as a .json file.

Scope required:internal_login

Responses

CodeDescriptionSchema
200

OK

UserProfile
401

Unauthorized

403

Resource Forbidden

500

Server Error

Error

Schemas​

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestringYes
messagestringYes
descriptionstring
traceIdstring

UserProfile​

Type: object

11 properties
NameTypeRequiredDescription
user_profileobject
user_profile.emailVerifiedboolean

Specify if the user's email address is verified.

user_profile.backupCodeEnabledboolean

Specifies if the user has enabled backup codes for login.

user_profile.givennamestring

User's first name.

user_profile.createdstring

The date and time the user profile was created.

user_profile.modifiedstring

Last modified date and time of the user profile.

user_profile.emailaddressstring

User's email address.

user_profile.useridstring

Unique identifier of the user.

user_profile.totpEnabledboolean

Specifies if the user has enabled TOTP for login.

user_profile.usernamestring

Username of the user. If a username is not configured, it will be the user's email address.

user_profile.lastnamestring

The last name of the user.

Was this page helpful?