Create Client
post
/public/v1/users/create
Request Body
Name | Type | Required | Rule | Description |
---|---|---|---|---|
id | string | Optional | the id of client | |
string | Mandatory | email | the email of user | |
phone | object | Optional | the phone of user | |
phone.country_code | string | Optional | user's phone country code | |
phone.number | string | Optional | user's phone number | |
password | string | Mandatory | the password of user | |
repeat_password | string | Mandatory | repeat password of user | |
update_password | boolean | Mandatory | Whether the user needs to change the password when logging in for the first time. | |
form_id | string | Mandatory | length 8 | the id of registration form |
referrer_id | string | Optional | length 8 | the referral code of the referrer |
boolean | Optional | Whether send mail to user | ||
language | string | Optional | language code | The language of user |
custom_fields | fields | Optional | additional fields configured in registration form |
Expected HTTP status code
- 201