Authentication
Language for the verification email
Must match password complexity requirements (uppercase, lowercase, digit, special char)
User role — determines company/association creation
Required for Manager and Cashier roles
Required for Association role
ISO country code, e.g. FR
User registered successfully.
Whether the request succeeded
HTTP status code
User already exists or validation error
Validation error
Login origin — 'dashboard' for backoffice, 'application' for mobile app
Login successful. If 2FA is enabled, token is null and an otpValidationToken cookie is set. Call /auth/otp to complete authentication.
Whether the request succeeded
HTTP status code
Invalid credentials
Unauthorized (VPN required for SuperAdmin)
Validation error
JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.
6-digit TOTP code from authenticator app
6-digit OTP received by email
OTP validated — final JWT access token returned
Whether the request succeeded
HTTP status code
Invalid or expired OTP
Authorization header required
Language for the reset email
If 'application', returns the reset token directly instead of sending an email
Reset email sent (or token returned if origin=application)
Whether the request succeeded
HTTP status code
Response payload
User not found
Validation error
Token from the password reset email
New password (must match complexity requirements)
Password changed successfully
Whether the request succeeded
HTTP status code
Response payload
Invalid or missing token
Validation error
User ID (backoffice sessions only) — determines the refresh token cookie name
New access token issued
Whether the request succeeded
HTTP status code
Invalid or expired refresh token
Last updated