Object

{
    "account_name": "uniqueAcctReference",
    "first_name": "Joann",
    "last_name": "Smith",
    "lang": "en",
    "email": "[email protected]",
    "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

Currently only "CUSTOMER" is supported. Accounts created are defaulted to customer accounts.

lang
string

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