AuthnAuthzAPI
  1. Authentication
  • Overview
  • Authentication
    • Register a new user
      POST
    • Verify email address
      POST
    • Resend verification code
      POST
    • Login user
      POST
  1. Authentication

Login user

Developing
POST
/auth/login
Authenticates a user by verifying the provided email address and password. If the credentials are valid and the account meets the required conditions (such as having a verified email and active status), the system returns authentication tokens that can be used to access protected API endpoints. Failed authentication attempts return appropriate error responses and may be monitored or rate-limited for security purposes.

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

🔴500Internal Server Error
🟠429Rate Limit Exceeded
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:3000/api/v1/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "chadrick42@yahoo.com",
    "password": "T8SyMAu5q&aGW%5"
}'
Response Response Example
200 - Example 1
{}
Modified at 2026-03-07 02:24:51
Previous
Resend verification code
Built with