/api/v1/auth/login PublicSign in a business owner or cashier
Accepts an email address or an Indonesian phone number as `identifier`. Rate limited to 5 failed attempts per identifier per 15 minutes.
Request body
identifierstringrequiredEmail address or phone number.passwordstringrequiredAccount password.
Example response
{
"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