My account

Get profile for the user.

get/api/my-account

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/my-account
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Response

The profile was retrieved successfully.

idstring
usernamestring nullable
primaryEmailstring nullable
primaryPhonestring nullable
namestring nullable
avatarstring nullable
customDataobject

arbitrary

identitiesobject
lastSignInAtnumber nullable
createdAtnumber
updatedAtnumber
applicationIdstring nullable
cimdClientIdstring nullable

The identifier of the CIMD (client ID metadata document) client from the user's first consent. null unless the user's first consent was granted to a CIMD client. Mutually exclusive with applicationId. Only returned with the profile scope.

isSuspendedboolean
hasPasswordboolean
hasSecurityVerificationMethodboolean

Changes

    • breaking

      the response property's maxLength was increased from 12 to 128 for the response status

    • breaking

      the // response property's maxLength was increased from 12 to 128 for the response status

    • info

      added the optional property to the response with the status