Authorization: ********************{
"email": "admin@company.com",
"password": "securepassword123"
}curl --location --request POST 'https://dev.your-api-server.com/auth/login' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "admin@company.com",
"password": "securepassword123"
}'{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.xxxxx",
"token_type": "Bearer",
"expires_in": 3600,
"user": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"email": "admin@company.com",
"employee_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"roles": [
"admin",
"hr"
],
"created_at": "2025-01-15T08:00:00Z",
"updated_at": "2025-01-20T10:30:00Z"
}
}