注册云信IM账号
POST
/im/v2/accounts请求参数
Body 参数application/json
user_information
object
必需
示例
{
"account_id": "48",
"token": "aliqua exercitation occaecat Excepteur quis",
"configuration": {
"enabled": true,
"p2p_chat_banned": true,
"team_chat_banned": false,
"chatroom_chat_banned": false,
"qchat_chat_banned": false,
"push_enabled_when_desktop_online": false
},
"user_information": {
"name": "马示思难",
"avatar": "http://dummyimage.com/100x100",
"sign": "dolore reprehenderit laboris",
"email": "l.bxyuulbt@qq.com",
"birthday": "1974-12-27",
"mobile": "13355645597",
"gender": 0,
"extension": "consequat ea"
}
}
示例代码
返回响应
Object200(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
user_information
object
必需
示例
{
"code": 200,
"msg": "success.",
"data": {
"account_id": "6",
"token": "fafsda232@623#*42",
"configuration": {
"enabled": false,
"p2p_chat_banned": true,
"team_chat_banned": false,
"chatroom_chat_banned": true,
"qchat_chat_banned": false,
"push_enabled_when_desktop_online": true
},
"user_information": {
"name": "张三",
"avatar": "http://dummyimage.com/100x100",
"sign": "in aute nulla Lorem",
"email": "y.amene@qq.com",
"birthday": "2008-11-02",
"mobile": "13813888888",
"gender": 1,
"extension": "est eiusmod"
}
}
}
最后修改时间: 8 个月前