Đăng nhập (Login)

Lấy Access Token.

Login

POST/api/auth/login

Request Body:

json
{
  "username": "testuser",
  "password": "password123"
}

Response 200:

json
{
  "success": true,
  "message": "Đăng nhập thành công!",
  "token": "a9a66f631662e4ab829a672729116c2be08b39ddb5550242876eeea97a19e4a4"
}

---

© 2026 CTDOAPIKEY Documentation