OS1 Services
...
User API
Creating Users
1 min
to create a user, call the https //docs getos1 com/reference/create a user endpoint and specify the following required parameters in the request body true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type request bodies are specified in json format the following example request body shows how to create a new user create user request body { "firstname" "john", "middlename" "false", "lastname" "doex", "email" "john doe\@example com", "designation" "field executive", "category" "regular", "employmenttype" "full time", "worklocations" \[ "facilities 1238 232 dsfs23 sdsdc" ], "manager" "string", "primarymobile" { "countrycode" "+1", "number" "5551234567" }, "secondarymobile" { "countrycode" "+1", "number" "5559876543" }, "identification" { "idtype" "driving license", "valididnumber" "abcde12345" }, "subfunction" "fe", "fileid" "file 1238 232 dsfs23 sdsdc" }