# User Model

The User Model – is a base model for showing platform user parameters. Models fields are presented in the table (Table 4.13), with an example below (Listing 4.9).&#x20;

**Table 4.13 – Fields of User Model**&#x20;

<table><thead><tr><th width="67">№</th><th width="202">Key </th><th width="125">Type </th><th width="95">Exists </th><th>Description </th></tr></thead><tbody><tr><td>1</td><td>uuid </td><td>uuid v4, string</td><td>required </td><td>Main identifier of user</td></tr><tr><td>2</td><td>email </td><td>string</td><td>required </td><td>User email</td></tr><tr><td>3</td><td>first_name</td><td>string</td><td>optional</td><td>User first name, if it set</td></tr><tr><td>4</td><td>last_name</td><td>string</td><td>optional</td><td>User last name, if it set</td></tr><tr><td>5</td><td>status </td><td>Status Model</td><td>optional</td><td>Current user status</td></tr><tr><td>6</td><td>company </td><td>Account Model</td><td>optional</td><td>If End User does not exist</td></tr><tr><td>7</td><td>end_user</td><td>End User Model</td><td>optional</td><td>Main account for user</td></tr><tr><td>8</td><td>is_two_factor_enabled</td><td>boolean </td><td>optional</td><td>Shows user 2FA state</td></tr><tr><td>9</td><td>timezone</td><td>string</td><td>optional</td><td>Shows user setting timezone</td></tr><tr><td>10</td><td>format_date_time</td><td>string</td><td>optional</td><td>User format for date and time</td></tr><tr><td>11</td><td>format_number</td><td>string</td><td>optional</td><td>User format for numbers</td></tr></tbody></table>

**Listing 4.9 – Example of User Model (JSON)**

```
{
    "uuid":                    "b528bcb9-86cf-2d72834d02ab",
    "email":                   "user_email@gmail.com",
    "first_name":              "John",
    "last_name":               "Johnson",
    "status":                  {...//Status Model},
    "company":                 {...//Account Model},
    "end_user":                {...//End User Model},
    "is_two_factor_enabled":   true,
    "timezone":                "UTC",
    "format_date_time":        "Y-m-d H:i:s",
    "format_number":           "fr-CA"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://faq.droam.com/menu/webhooks/webhook-payload-models/user-model.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
