Authentication API
The Authentication API provides endpoints for user authentication, token management, and password operations.
Base Endpoint
/api/authEndpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/login | Authenticate user with email and password |
| POST | /api/auth/refresh | Refresh expired access token |
| POST | /api/auth/forget-password | Request password reset code via email |
| POST | /api/auth/reset-password | Reset password using verification code |
| POST | /api/auth/activate-account | Activate user account using verification code |
Token Usage
Include the access token in the Authorization header:
Authorization: Bearer {{accessToken}}