返回团队内指定用户完整信息。
GET {base_url}/user.info
需要登录
参数名称 | 参数类型 | 参数是否必须? | 说明 | 样例 |
---|---|---|---|---|
user_id |
string |
是 | 指定用户 id,如 "=bw52O" |
{
"inactive": false,
"role": "normal",
"email": "[email protected]",
"name": "BearyBot",
"type": "assistant",
"created": "2017-01-11T12:28:31.000+0000",
"id": "=bwMkR",
"avatars": {
"small": null,
"medium": null,
"large": null
},
"team_id": "=bw52O",
"full_name": "倍洽小助手",
"mobile": null,
"profile": {
"bio": null,
"position": null,
"skype": null
}
}
{
"code": // error code,
"error": "unexpected error"
}