Submitting this endpoint creates a new account and triggers a verification email to the supplied address. The account starts inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ricardomb-tech/auth-service/llms.txt
Use this file to discover all available pages before exploring further.
PENDING_VERIFICATION status and cannot be used to log in until the email verification step is completed. Email format validation and password-policy enforcement happen inside the domain layer — the controller only guards against blank values and oversized inputs.
POST /auth/register
Authentication: None requiredRequest Body
The email address for the new account. Must not be blank. Maximum 254 characters. Email format is validated by the domain layer.
The password for the new account. Must not be blank. Maximum 72 characters. Password policy (minimum length, complexity) is enforced by the domain layer.
Response — 202 Accepted
The server always returns202 Accepted with the following body, regardless of whether the email address is already registered.
Error Responses
| Status | Condition |
|---|---|
400 Bad Request | A required field is blank or exceeds the maximum length. Returns application/problem+json. |
curl Example
Anti-enumeration protection:
/auth/register always returns 202 Accepted with the same message body whether the email address is already registered, whether the account is pending, or whether it is brand new. This prevents an attacker from discovering which email addresses have accounts by probing the registration endpoint. If an email already exists, the new registration attempt is silently discarded.POST /auth/resend-verification
Resends the verification email for an account that is still inPENDING_VERIFICATION status. Useful when the original email was lost, landed in spam, or the verification token expired.
Authentication: None required
Request Body
The email address associated with the pending account. Maximum 254 characters.
Response — 202 Accepted
curl Example
Like
/auth/register, the response is identical whether the email exists or not, and whether the account is already verified. The resend is silently skipped for non-existent or already-active accounts — anti-enumeration applies here too.