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

# The User object

> Authenticated user profile and lifecycle status.

The User object represents the authenticated MyTruv user. It includes profile information and lifecycle flags indicating onboarding, bank connection, and subscription status.

## Attributes

| Attribute   | Type   | Description                                                       |
| :---------- | :----- | :---------------------------------------------------------------- |
| first\_name | string | User's first name                                                 |
| last\_name  | string | User's last name                                                  |
| email       | string | User's email address                                              |
| phone       | string | User's phone number                                               |
| lifecycle   | object | Lifecycle status flags, see [Lifecycle object](#lifecycle-object) |
| onboarding  | object | Legacy onboarding status (prefer `lifecycle`)                     |

### Lifecycle object

| Attribute                 | Type    | Description                                              |
| :------------------------ | :------ | :------------------------------------------------------- |
| is\_onboarding\_completed | boolean | Whether onboarding is completed                          |
| has\_connected\_bank      | boolean | Whether the user has connected at least one bank account |
| has\_active\_subscription | boolean | Whether the user has an active subscription              |
| is\_trial                 | boolean | Whether the user is currently on a free trial            |

***

## Endpoints

* [Get user profile](/api-reference/user/get-user)

***

## Example response

```json theme={null}
{
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "jane@example.com",
  "phone": "+1-555-123-4567",
  "lifecycle": {
    "is_onboarding_completed": true,
    "has_connected_bank": true,
    "has_active_subscription": false,
    "is_trial": true
  },
  "onboarding": {
    "is_completed": true
  }
}
```
