---
updatedAt: 2025-06-16T23:35:30.000Z
agentTools:
  projectIndex: https://developer.duda.co/llms.txt
---

# Account Object

```json
{
    "account_name": "uniqueAcctReference",
    "first_name": "Joann",
    "last_name": "Smith",
    "lang": "en",
    "email": "example@domain.com",
    "company_name": "Joann's Agency",
    "account_type": "CUSTOMER"
}
```

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Field
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        **account\_name**
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Usually the email or unique identifer of the user you want to add. Is not required to be a email.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **first\_name**\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        First name off the account holder. This is only used if Duda sends white labeled emails to the customer or the user writes a blog post.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **last\_name**\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Last name of the account holder. This is used if Duda sends white labeled emails to the customer or the user writes a blog post.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **account\_type**\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Can be "CUSTOMER" or "STAFF" accounts. Most common is "CUSTOMER"
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **lang**\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Sets what language the user will see the website builder interface in.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **company\_name**\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Sets the company name for the user. 
      </td>
    </tr>
  </tbody>
</Table>