v1

latestOpenAPI 3.0.0BSD-3-Clause2026-07-146135105.7 KB
account

Create Account

Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the /account/verfication route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new account session.

post/account

Request body

emailstring required

User email.

namestring

User name. Max length: 128 chars.

passwordstring required

User password. Must be between 6 to 32 chars.

Response

User

$idstring required

User ID.

emailstring required

User email address.

emailVerificationboolean required

Email verification status.

namestring required

User name.

passwordUpdateinteger required

Unix timestamp of the most recent password update

prefsobject required

User preferences as a key-value object

registrationinteger required

User registration date in Unix timestamp.

statusinteger required

User status. 0 for Unactivated, 1 for active and 2 is blocked.