POST /api/auth/create-account
Creates a new user account and sends a confirmation email with a 6-digit token.Authentication
No authentication required.Request Body
User’s display name. Cannot be empty.
Valid email address. Must be unique in the system.
User password. Minimum length: 8 characters.
Request Example
Response
Success message confirming user creation.
Success Response (201 Created)
Error Responses
409 Conflict - User Already Exists
400 Bad Request - Validation Errors
500 Internal Server Error
cURL Example
Notes
- Password is automatically hashed before storage
- A 6-digit confirmation token is generated and sent via email
- Account starts in unconfirmed state until token is verified
- Rate limiting is applied to this endpoint