Account Object

{
    "account_name": "uniqueAcctReference",
    "first_name": "Joann",
    "last_name": "Smith",
    "lang": "en",
    "email": "[email protected]",
    "company_name": "Joann's Agency",
    "account_type": "CUSTOMER"
}

Field

Description

account_name string

Usually the email or unique identifer of the user you want to add. Is not required to be a email.

first_name
string

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.

last_name
string

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.

account_type
string

Can be "CUSTOMER" or "STAFF" accounts. Most common is "CUSTOMER"

lang
string

Sets what language the user will see the website builder interface in.

company_name
string

Sets the company name for the user.