Login Access Token

Endpoint: /api/v1/login

Method: POST

  • Description: This endpoint provides a way for users to log in and obtain an access token, which is necessary for authenticating subsequent API requests.
  • Request Body:
  • LoginRequest: The endpoint containing login credentials, such as username and password.
  • Responses:
    • 200 OK: Successful login, returns a LoginResponse with access tokens.
    • 400 Bad Request: The request was invalid, returns an Error object.
    • 500 Internal Server Error: The server encountered an unexpected condition.