Skip to main content
Registering creates a new customer account, authenticates you immediately by setting a session cookie, and queues a 24-hour email verification message to the address you provide. After a successful registration you are logged in — no separate login call is needed.

Endpoint

This endpoint is public — no existing session or CSRF token is required.

Request Body

Send a JSON body with the following fields:
string
required
Given name. Between 1 and 100 characters.
string
required
Family name. Between 1 and 100 characters.
string
required
Mobile number in E.164 format, e.g. +14155552671. Must match ^\+[1-9]\d{1,14}$.
string
required
Valid email address. Must not already be registered — the API returns 409 if it is.
string
required
Minimum 8 characters. Must contain at least one uppercase letter, one lowercase letter, one digit, and one special character (e.g. !, @, #).

Example Request

Success Response — 201 Created

The account is created, the session cookie is set on the response, and a verification email is queued.
boolean
Always true for successful responses.
object
The session is delivered as an HttpOnly cookie named session (SameSite=Lax). Because it is HttpOnly, your JavaScript code cannot read the cookie value directly — the browser attaches it automatically to every subsequent same-origin request. Store the public_id in your app state if you need to identify the user client-side.

Error Responses

Example 400 Validation Error

Example 409 Conflict

Next Steps

Verify Your Email

Confirm your email address using the token sent to your inbox.

Get a CSRF Token

Fetch a CSRF token before making any state-changing requests.