Registration flow
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.Verify your email
Call
GET /auth/verify with the email and the code from the email. The platform marks the address as verified.Complete registration
Call
POST /auth/signup with your name, password, and the same email address. The account is created and ready to use.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
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
The email address to verify. Must be a valid email, maximum 256 characters.
Leading and trailing whitespace is stripped; the value is lowercased
automatically.
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).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
The email address to verify. Maximum 256 characters. Lowercased and trimmed
automatically.
The verification code received in the email.
Examples
200 response
Error responses
| Status | Description |
|---|---|
400 Bad Request | The verification code is invalid or has expired. |
Complete registration
POST /auth/signup
Creates the user account. Requires that the email address has already been verified via GET /auth/verify.
Request body
The verified email address. Must be a valid email.
The user’s first name. Minimum 2 characters, maximum 50 characters.
The user’s last name. Minimum 2 characters, maximum 50 characters.
The password to set for the new account.
Set to
true to register the account for passkey (FIDO2) authentication
instead of a password. Defaults to false.Set to
true to register the account as a credential holder. Defaults to
false.Response
HTTP status code.
201 on success.Human-readable result message.
The newly created user object.
Examples
201 response
Error responses
| Status | Description |
|---|---|
400 Bad Request | One or more required fields are missing, invalid, or the email has not been verified. |
409 Conflict | An account with this email address already exists. |
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.