> For the complete documentation index, see [llms.txt](https://openapi.logto.io/llms.txt)

# Get profile

> GET /api/my-account
> 
> Get profile for the user.



## Servers
- Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.)


## Authentication methods
- O auth2


## Parameters




## Responses
### 200
The profile was retrieved successfully.

#### Body: application/json (object)
- **id** (string)

- **username** (string | null)

- **primaryEmail** (string | null)

- **primaryPhone** (string | null)

- **name** (string | null)

- **avatar** (string | null)

- **customData** (object)
  arbitrary

- **identities** (object)

- **lastSignInAt** (number | null)

- **createdAt** (number)

- **updatedAt** (number)

- **profile** (object)

- **applicationId** (string | null)

- **cimdClientId** (string | null)
  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.

- **isSuspended** (boolean)

- **hasPassword** (boolean)

- **hasSecurityVerificationMethod** (boolean)

- **hasPrimaryEmail** (boolean)
  Whether the user has a primary email. Requires the `email` scope. Returned even when the Account Center email field is not readable; the email address itself remains filtered.

- **hasPrimaryPhone** (boolean)
  Whether the user has a primary phone. Requires the `phone` scope. Returned even when the Account Center phone field is not readable; the phone number itself remains filtered.

- **ssoIdentities** (array[object])


### 401
Unauthorized

### 403
Forbidden


[Powered by Bump.sh](https://bump.sh)
