curl --request POST \
--url http://localhost:8080/cabinet/auth/email/register/standalone \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>",
"first_name": "<string>",
"language": "ru",
"referral_code": "<string>"
}
'{
"message": "<string>",
"email": "<string>",
"requires_verification": true
}Register new account with email and password.
This endpoint creates a new user WITHOUT requiring Telegram authentication. An email verification link will be sent to confirm the email address.
User must verify email before they can login.
If TEST_EMAIL is configured, test email accounts are auto-verified.
curl --request POST \
--url http://localhost:8080/cabinet/auth/email/register/standalone \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>",
"first_name": "<string>",
"language": "ru",
"referral_code": "<string>"
}
'{
"message": "<string>",
"email": "<string>",
"requires_verification": true
}Request to register new account with email (no Telegram required).