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

# account.loggedIn

> Emitted when a user logs in.

## Event Properties

| Field          | Value                |
| -------------- | -------------------- |
| `event`        | `"account.loggedIn"` |
| `confidential` | `boolean`            |
| `payload`      | `object`             |

<Tabs>
  <Tab title="Public Payload">
    | Field        | Type     | Description                          |
    | ------------ | -------- | ------------------------------------ |
    | `authMethod` | `string` | Authentication method used for login |

    #### Example

    ```json theme={null}
    {
      "event": "account.loggedIn",
      "confidential": false,
      "payload": {
        "authMethod": "password"
      }
    }
    ```
  </Tab>

  <Tab title="Confidential Payload">
    | Field        | Type     | Description                          |
    | ------------ | -------- | ------------------------------------ |
    | `authMethod` | `string` | Authentication method used for login |
    | `email`      | `string` | User's email address                 |

    #### Example

    ```json theme={null}
    {
      "event": "account.loggedIn",
      "confidential": true,
      "payload": {
        "authMethod": "password",
        "email": "user@example.com"
      }
    }
    ```
  </Tab>
</Tabs>
