How To: Create a User

For information about prerequisites, see Creating Users.

To create your first User, call the Create User endpoint and pass a request similar to the following:

{
    "firstName": "kashish",
    "lastName": "lala",
    "designation": "Field Executive", 
    "category": "Regular",
    "email": "[email protected]",
    "primaryMobile": {
        "countryCode": "+91",
        "number": "9999999999"
    },
    "employmentType": "Full-time"
}

When creating subsequent Users, you can use the userOwnerId to specify non Tenant users as the owner of the User. This allows you to create a hierarchy of Users within your Organization.

To retrieve a list of all of the Users in your Tenant associated with your App, call the Get all Users.