post https://apps.applozic.com/rest/ws/user/v2/create
Use this API to create an user
JSON Parameter Description:
Parameter | Required | Default | Description |
---|---|---|---|
userId | Yes | pass unique id of user | |
password | No | password of user | |
displayName | No | display name of user | |
imageLink | No | image link of user | |
No | email of user | ||
createdAtTime | No | time in miliseconds | |
authenticationTypeId | No | 0 | used for user authentication |
roleName | No | USER | want to create user of specific type then pass: BOT |
Values of Role:
Parameter | Value |
---|---|
roleName | BOT |
roleName | USER |
Values of Authentication Type Id:
Parameter | Value | Description |
---|---|---|
authenticationTypeId | 0 | Verification from client side |
authenticationTypeId | 1 | Verification from applozic using password |
Note:
- User password is required in case of BOT user creation.
- By default role is USER if roleName parameter is not passed.
- You can also create the user with additional information. You need to pass the information as the user metadata in the API. Please check this doc for more information.