Register a new user
POST/v1/auth/register
Creates a new user account with the given email and password. Password must be at least 8 characters. A 6-character alphanumeric verification code is generated and sent by email. The user enters the code in the app to verify. Returns the created user (id, email, is_email_verified). Use login to obtain tokens. Does not reveal whether an email is already registered (same generic validation error); rate-limited per IP to prevent enumeration.
Request
Responses
- 201
- 422
- 429
User created
Validation error (invalid input or email already in use; response is generic to prevent email enumeration)
Too many registration attempts from this IP