> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# UserProfile

> An object containing attributes about the user such as id, email, first name, etc.

> [card] Recommended: JavaScript SDK with React Hooks
>
> For new React apps, we recommend the JavaScript SDK with React Hooks (`@dynamic-labs-sdk/react-hooks`) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the [React quickstart (JavaScript SDK)](https://docs.dynamic.xyz/docs/javascript/reference/react-quickstart.md) to get started.

| Field | Description |
| - | - |
| userId?: string | \[Optional] - Dynamic's UUID |
| sessionId: string | \[Optional] - The current session ID |
| environmentId?: string | \[Optional] - Dynamic environment ID |
| newUser?: boolean | \[Optional] - Is it first time user created/logged in |
| email?: string | \[Optional] - User's email |
| alias?: string | \[Optional] - User's alias |
| firstName?: string | \[Optional] - User's first name |
| lastName?: string | \[Optional] - User's last name |
| phoneNumber? string | \[Optional] - User's phone number |
| lists?: string\[] | \[Optional] - User's access lists. See [Access Control](https://docs.dynamic.xyz/docs/auth/access-control/overview.md). |
| verifiedCredentials?: [JWTVerifiedCredential](https://docs.dynamic.xyz/docs/react/reference/objects/verified-credential.md)\[] | \[Optional] - User's verified credentials |
| lastVerifiedCredentialId: string \|\ undefined | \[Optional] - User's last verified credential ID |
| scope?: string | \[Optional] - User's scope |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.