User Management

Base URL

All endpoints are relative to the base URL: /api

Authentication

Endpoints that require authentication use JWT (JSON Web Token) in the Authorization header.

Error Handling

Error responses follow standard HTTP status codes. Details of error responses are included in each endpoint's description.

Endpoints

1. User Login

2. User Registration