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
method
string
required
user
object
required

Response

200
application/json
user
object
required