Skip to main content
POST
Create an account

Body

application/json
email
string<email>
required

Must match ^[^\s@]+@[^\s@]+\.[^\s@]+$. Stored lowercased and trimmed.

password
string
required
Minimum string length: 8
firstName
string
required
lastName
string
required
turnstileToken
string
required

Cloudflare Turnstile token (action register).

addressLine1
string
required
city
string
required
postcode
string
required
country
string
required

ISO 3166-1 alpha-2 code. Uppercased before checks.

Required string length: 2
phoneNumber
string
clientType
enum<string>
default:INDIVIDUAL

Anything other than BUSINESS is treated as INDIVIDUAL.

Available options:
INDIVIDUAL,
BUSINESS
companyName
string

Required when clientType is BUSINESS. Ignored otherwise.

vatNumber
string

Kept only for BUSINESS accounts.

addressLine2
string
region
string | null

State / province / county. Required for countries whose addresses use one.

Maximum string length: 64

Only a literal JSON true counts as consent. Anything else is stored as no.

attribution
object

Where the visitor came from. All optional. Values that look like credentials or email addresses are dropped whole, and nothing is stored when every field ends up empty.

Response

Account created and signed in.

success
boolean
required
data
object
required