API文档管理

创建子账号

客户可通过本接口来创建属于自己的子账号信息,创建成功之后可直接登录客户管理平台(http://mp.weiliaokefu.com)与访客聊天。

接口调用请求说明

http请求方式: POST(请使用https协议) http://api.weiliaokefu.com/company-create_service?appid=appid&sign=sign
参数 是否必须 传值方式 说明
appid GET 调用接口凭证(代理商appid)
sign GET 接口签名
timestamp
POST 请求时间
name

POST 子账号名称
link_mobile

POST 手机号(即登陆的账号)
password

POST 登录密码(建议6-32位英文或字母)
confirmpwd

POST 确认密码
type

POST 账号类型 (1:管理员 2:普通客服)
no

POST 编号
realname

POST 真实姓名

返回说明

正确时返回JSON数据包:

{"errcode":"200",errmsg":"success"}

错误时返回JSON数据包:

{"errcode":"-1",errmsg":"error"}