# Get all active users
curl --request GET \
--url https://api.harmonyforstaffing.com/api/users?isActive=true \
--header 'Authorization: Bearer <token>'
# Get specific user
curl --request GET \
--url https://api.harmonyforstaffing.com/api/users?id=123 \
--header 'Authorization: Bearer <token>'
{
"users": [
{
"id": 123,
"firstName": "Jane",
"lastName": "Smith",
"email": "[email protected]",
"phone": "+1-555-555-5555",
"role": {
"id": 1,
"name": "Recruiter",
"description": "Can manage candidates and job submissions"
},
"isActive": true,
"dateAdded": 1679253000
}
]
}
Retrieve users
# Get all active users
curl --request GET \
--url https://api.harmonyforstaffing.com/api/users?isActive=true \
--header 'Authorization: Bearer <token>'
# Get specific user
curl --request GET \
--url https://api.harmonyforstaffing.com/api/users?id=123 \
--header 'Authorization: Bearer <token>'
{
"users": [
{
"id": 123,
"firstName": "Jane",
"lastName": "Smith",
"email": "[email protected]",
"phone": "+1-555-555-5555",
"role": {
"id": 1,
"name": "Recruiter",
"description": "Can manage candidates and job submissions"
},
"isActive": true,
"dateAdded": 1679253000
}
]
}
# Get all active users
curl --request GET \
--url https://api.harmonyforstaffing.com/api/users?isActive=true \
--header 'Authorization: Bearer <token>'
# Get specific user
curl --request GET \
--url https://api.harmonyforstaffing.com/api/users?id=123 \
--header 'Authorization: Bearer <token>'
{
"users": [
{
"id": 123,
"firstName": "Jane",
"lastName": "Smith",
"email": "[email protected]",
"phone": "+1-555-555-5555",
"role": {
"id": 1,
"name": "Recruiter",
"description": "Can manage candidates and job submissions"
},
"isActive": true,
"dateAdded": 1679253000
}
]
}