/auth/registerRegisterRegister a new user with name, email, and password (min 8 chars). Emails a verification code (when EMAIL_PROVIDER=console, the gateway logs the code to its console). Returns 400 if the email is from a disposable/throwaway domain ({ "error": "Disposable email addresses are not allowed" }). Returns 429 Too Many Requests if the rate limit is exceeded — this endpoint is strictly limited to prevent email bombing (check the Retry-After response header).
Authentication: None
Input — request body
namestring required- Display name
emailstring required- User email address
passwordstring required- Password, minimum 8 characters
confirmPasswordstring required- Must match password
Input — example request
{
"name": "Jane Dev",
"email": "user@example.com",
"password": "********",
"confirmPassword": "********"
}Output — example response (200)
{
"message": "Verification email sent",
"email": "user@example.com"
}Output — every status this endpoint answers with
| Status | When |
|---|---|
200 | Verification email sent |
400 | Invalid request body or disposable email address not allowed |
409 | Email already registered AND verified (sign in instead) |
429 | Rate limited |
500 | Internal server error |