Create an Account

Creates an Account. Use the request body to set such parameters as: username, name, date of birth, primary residence, emails, phone numbers.

Body Params
string

Account username. Default: the Auth0 username.

string

Account first name. Default: the Auth0 first name.

string

Account last name. Default: the Auth0 last name.

string

Profile photo URL.

string

Date of birth (DD/MM/YYYY).

string
enum

Marital status.

Allowed:
brandCodeAffiliations
array of strings

Affiliations of the affiliate code (brandCode).

brandCodeAffiliations
primaryResidence
object

Primary residence address.

string
enum

Gender.

Allowed:
emails
array of objects

Account emails. Default: the Auth0 email.

emails
phones
array of objects
required

Account phone number(s).

phones*
settings
object
required

Account settings information.

agreements
array of objects
required

An Agreements object. These are agreements that must be accepted when a SideDrawer Account is created. Newer versions may also be sent out when required. There are three agreement types: terms of service (tos), privacy policies (privacy_policies), and anti-spam (anti_spam).

agreements*
string

Invitation code.

string

Invitation code sent from a referral, business or sponsor.

string

Default Drawer (sidedrawer) identifier.

string

This is the region in which the data should be stored. Possible values: US, CA, EU.

string
enum

Identity provider used when the Account is created. Default: auth0.

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json