Skip to main content
GET
/
reports#getActiveUsers
getActiveUsers
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getActiveUsers' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "getActiveUsers",
  "companyId": "01A33366-EE1C-4E13-BCB9-E482AC3A4545",
  "workerType": "W2"
}
'
{
  "user": [
    {
      "user": "Ryan Lee Allen",
      "userId": "94380CA2-3612-46D7-92EA-02D8A2D0A094",
      "userReferenceId": "",
      "companyId": "B35D7C33-93EF-44EB-8C04-6BBD0907CCB4",
      "status": {
        "userStatus": "Active"
      },
      "WorkerType": {
        "WorkerType": "W2"
      },
      "firstName": "Ryan",
      "lastName": "Allen",
      "middleName": "Lee",
      "phoneNumber": "6449847893",
      "kycStatus": "passed",
      "jobTitle": "Maintenance Technician",
      "dateOfJoin": "2025-11-14",
      "email": "ryan.allen70819@mailsac.com",
      "userWages": [
        {
          "WageRate": 25,
          "WageBasis": {
            "WageBasis": "Per Day"
          },
          "paymentMethod": {
            "PaymentMethod": "Direct Deposit"
          }
        }
      ],
      "userAddress": {
        "address1": "1725 Reisterstown Rd",
        "address2": "",
        "city": "Randallstown",
        "state": "MD",
        "zipcode": "21133",
        "country": "US"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
companyId
string
required
workerType
string
required

Response

200 - application/json
user
object[]
required