curl --request POST \
--url https://api.getenso.ai/auth/login \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "admin@acme.com",
"password": "s3cr3t!"
}
'{
"status": "success",
"message": "Success",
"data": {}
}Authenticate a regular user with email and password. Returns access and refresh tokens.
curl --request POST \
--url https://api.getenso.ai/auth/login \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "admin@acme.com",
"password": "s3cr3t!"
}
'{
"status": "success",
"message": "Success",
"data": {}
}JWT bearer token obtained from POST /auth/system-login using your client credentials.