Admin Portal
addUser
API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- POSTaddCompanyBankAccount
- PUTdeactivateCompanyBankAccount
- POSTaddUser
- POSTaddBusinessContractor
- PUTupdateUser
- POSTaddUsers
- POSTaddStateRegistration
- PUTupdateStateRegistration
- POSTaddUserWage
- PUTupdateUserWage
- PUTupdateBusinessUserAsEmployee
- PUTupdateEmployeeAsBusinessUser
- PUTupdateBusinessUser
- PUTupdateCompanyLocation
- POSTactivateUser
- POSTdeactivateUser
- PUTterminateUser
- StateRegistration
- POST
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Admin Portal
addUser
This endpoint can be used to Create an Employee/Contractor by providing the required fields
POST
/
adminPortal#addUser
curl --request POST \
--url 'https://sandbox.rollfi.xyz/adminPortal#addUser' \
--header 'Content-Type: application/json' \
--data '{
"method": "addUser",
"user": {
"companyId": "64a1e9a5-712d-43ac-92e9-0b81972a960a",
"userReferenceId": "",
"firstName": "Marcus",
"middleName": "Austin",
"lastName": "Steve",
"email": "mar@sto.com",
"phoneNumber": "9889890989",
"dateOfJoin": "2000-01-01",
"workerType": "W2",
"jobTitle": "Manager",
"companyLocationCategory": "Remote",
"code": "FL",
"companyLocationId": ""
}
}'
{
"1": {
"summary": "Success",
"value": {
"user": {
"userId": "E7B3731C-20F4-4432-A3BE-DDD83D877EAD",
"status": "KYC Pending",
"message": "Marcus Steve has been successfully added as Employee in Test Ltd."
}
}
}
}
Body
application/json
Maximum length:
40
Maximum length:
40
Maximum length:
35
Maximum length:
10
Available options:
W2
, 1099-NEC
Maximum length:
20
Available options:
Office
, Remote
Maximum length:
20
Maximum length:
40
Available options:
TX
, AK
, ND
, IL
, MA
, KS
, AS
, AL
, UT
, SD
, MI
, DC
, GA
, SC
, TN
, OK
, CO
, CA
, ME
, MO
, WY
, MD
, VT
, NM
, CT
, AZ
, WI
, VA
, WV
, NJ
, DE
, NC
, PR
, IN
, MT
, NH
, HI
, IA
, KY
, WA
, OH
, FL
, OR
, MP
, GU
, MN
, MS
, PA
, NE
, RI
, ID
, LA
, NY
, NV
, AR
curl --request POST \
--url 'https://sandbox.rollfi.xyz/adminPortal#addUser' \
--header 'Content-Type: application/json' \
--data '{
"method": "addUser",
"user": {
"companyId": "64a1e9a5-712d-43ac-92e9-0b81972a960a",
"userReferenceId": "",
"firstName": "Marcus",
"middleName": "Austin",
"lastName": "Steve",
"email": "mar@sto.com",
"phoneNumber": "9889890989",
"dateOfJoin": "2000-01-01",
"workerType": "W2",
"jobTitle": "Manager",
"companyLocationCategory": "Remote",
"code": "FL",
"companyLocationId": ""
}
}'
{
"1": {
"summary": "Success",
"value": {
"user": {
"userId": "E7B3731C-20F4-4432-A3BE-DDD83D877EAD",
"status": "KYC Pending",
"message": "Marcus Steve has been successfully added as Employee in Test Ltd."
}
}
}
}