Skip to main content
New accounts require three steps: request an email verification code, verify the email, then complete registration with your personal details.

Registration flow

1

Send a verification email

Call POST /auth/verification-mail with the email address you want to register. The platform sends a one-time verification code to that address.
2

Verify your email

Call GET /auth/verify with the email and the code from the email. The platform marks the address as verified.
3

Complete registration

Call POST /auth/signup with your name, password, and the same email address. The account is created and ready to use.
4

Sign in

Use POST /auth/signin to obtain a JWT access token. See Login and session management for details.

Send verification email

POST /auth/verification-mail Sends a verification code to the provided email address. This is the first step in the registration flow.

Query parameters

string
Optional alias that scopes the verification email to a specific front-end client (for example, "VERIFIER"). Use GET /auth/clientAliases to retrieve valid values for your deployment. When omitted, the default client is used.

Request body

string
required
The email address to verify. Must be a valid email, maximum 256 characters. Leading and trailing whitespace is stripped; the value is lowercased automatically.
string
Optional URL of a brand logo to embed in the verification email. Must include a protocol and a valid TLD (for example, https://example.com/logo.png).
string
Optional display name of your platform, shown in the verification email body (for example, "MyPlatform").

Examples

201 response

Verify email

GET /auth/verify Validates the verification code sent to the user’s email address. Must be called before completing registration.

Query parameters

string
required
The email address to verify. Maximum 256 characters. Lowercased and trimmed automatically.
string
required
The verification code received in the email.

Examples

200 response

Error responses


Complete registration

POST /auth/signup Creates the user account. Requires that the email address has already been verified via GET /auth/verify.

Request body

string
required
The verified email address. Must be a valid email.
string
required
The user’s first name. Minimum 2 characters, maximum 50 characters.
string
required
The user’s last name. Minimum 2 characters, maximum 50 characters.
string
required
The password to set for the new account.
boolean
Set to true to register the account for passkey (FIDO2) authentication instead of a password. Defaults to false.
boolean
Set to true to register the account as a credential holder. Defaults to false.

Response

number
HTTP status code. 201 on success.
string
Human-readable result message.
object
The newly created user object.

Examples

201 response

Error responses


Complete registration flow example

The following sequence shows all three steps together.
The verification code from step 2 is single-use and time-limited. If it expires, repeat step 1 to receive a new code.