注册用户
classin_register_userRegister a ClassIn user account for your organization. Provide phone/email, nickname, and password to create the account and receive the user UID.
Instructions
注册ClassIn用户账号。为机构的用户代注册ClassIn账号。
重要: 调用此接口前,请保证所传的手机号或邮箱用户对此代注册操作知情并同意。
参数:
telephone: 手机号(与email二选一)。中国大陆格式: 15800000001; 国际格式: 00国家号-手机号
email: 邮箱(与telephone二选一)
nickname: 昵称/姓名,最长24字符
password: 明文密码6-20位(与md5pass二选一)
md5pass: MD5加密密码32位(与password二选一)
addToSchoolMember: 0=不加为机构成员, 1=加为机构学生, 2=加为机构老师
返回:
成功返回用户UID(唯一标识)
如果手机号/邮箱已注册,返回错误码135/461,但仍会返回已存在用户的UID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||