Authentication API
Base URL
Authentication
Authorization: Bearer <your_access_token>👤 User & Authentication Endpoints
1. User Registration
{ "username": "string (optional)", "email": "[email protected]", "password": "yourpassword", "full_name": "User Full Name", "gemini_api_key": "your_gemini_api_key (optional)" }{ "message": "Registration successful", "user": { "id": "uuid", "username": "string", "email": "[email protected]", "full_name": "User Full Name", "is_active": true, "age": null, "gender": null, "russian_level": null, "gemini_api_key": null } }{ "detail": "Registration failed. Email or username already exists." }
2. User Login
3. Refresh Access Token
4. User Logout
5. Revoke Token
6. Validate Token
📧 Email Verification Endpoints
7. Initiate Email Verification
8. Verify Email Address
🔑 Password Management Endpoints
9. Forgot Password
10. Reset Password
11. Change Password
🧑💻 User Profile Endpoints
12. Get User Profile
13. Update User Profile
14. Update User Email
15. Deactivate User Account
16. Permanently Delete User Account
Last updated