Email/password signup

Creates a new user account. If organizationName is provided, creates a new organization and assigns the user as admin. Otherwise, assigns user to the Public organization as consumer. If the email already exists and organizationName is provided, adds the existing user to the new organization as admin (after password verification). Then logs the user in and returns access and refresh tokens.

Body Params

User signup credentials. Email and password are required. The password must meet security validation requirements. Optional plan defaults to "enterprise-core". Optional organizationName parameter. When provided, a new organization is created and the user is assigned as admin. When omitted, user is assigned to Public organization as consumer. If email already exists and organizationName is provided, the existing user will be added to the new organization (password verification required).

string
required
string
required
string
Defaults to enterprise-core
string | null
string

Optional organization name. If provided, creates a new organization and assigns user as admin. If email already exists, adds existing user to new organization (password verification required).

Responses

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