Skip to main content
GET
/
api
/
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
    }
  ]
}
Retrieve a list of users or get details for a specific user.

Query Parameters

id
string
Optional user ID to get a specific user
isActive
boolean
Filter by active status

Response

users
array
List of user objects
# 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
    }
  ]
}