/api/v1/auth/login PublicMasuk sebagai pemilik usaha atau kasir
Menerima alamat email atau nomor HP Indonesia sebagai `identifier`. Dibatasi 5 percobaan gagal per identifier setiap 15 menit.
Request body
identifierstringrequiredAlamat email atau nomor HP.passwordstringrequiredKata sandi akun.
Response example
{
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9…",
"expiresAt": "2026-08-18T04:41:38.000Z",
"user": {
"id": "clx…",
"name": "Budi Santoso",
"email": "budi@example.com",
"phone": "628121111111",
"tenantRole": "owner"
},
"tenant": {
"id": "clx…",
"name": "Cuci Kilat Depok",
"slug": "cuci-kilat-depok"
}
}
}UNAUTHENTICATEDRATE_LIMITED