Skip to main content
GET
/
reports#getUsers
getUsers
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getUsers' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "getUsers",
  "companyId": "CFC4D743-4869-4799-B1AF-B615D6CF21E5"
}
'
{
  "users": [
    {
      "user": "Molly  Phelps",
      "userId": "A9A61FBE-7C7F-48E6-9CA8-1AD8A8CB3980",
      "companyId": "C2019899-9EEF-49F7-9B51-70744AFAFE61",
      "status": {
        "userStatus": "Active"
      },
      "WorkerType": {
        "WorkerType": "W2"
      },
      "firstName": "Molly",
      "lastName": "Phelps",
      "middleName": "",
      "phoneNumber": "9988776655",
      "kycStatus": "passed",
      "jobTitle": "Developer",
      "dateOfJoin": "2023-02-02",
      "email": "[email protected]",
      "userWages": [
        {
          "WageRate": 4000,
          "WageBasis": {
            "WageBasis": "Per Month"
          },
          "paymentMethod": {
            "PaymentMethod": "Direct Deposit"
          }
        }
      ],
      "userAddress": {
        "address1": "102 Fallsgrove Blvd",
        "address2": "",
        "city": "Seattle",
        "state": "WA",
        "zipcode": "98101",
        "country": "US"
      },
      "employeeMiscellaneousStateTax": {
        "RiskClassCode": "643609",
        "CompositeRate": "9",
        "RiskClassNameEmployee": "Plumber",
        "PayrollDeductionRate": "4.5"
      }
    }
  ]
}

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

Response

users
object[]
required