托管账号管理接口

wecomUserId转换botId

请示地址:

GET https://hub.juzibot.com/api/v1/bot/wecomUserId_to_botId?token=***&wecomUserId=userid

参数说明:

参数类型是否必须备注
tokenstring调用接口凭证 获取方式
wecomUserIdstring托管账号的企微userId, 参考wxUserId

返回示例:

{
  errcode: 0,
  errmsg: "ok",
  botId: "62c7a9a1d22d7e152bf89111"
}

参数说明:

参数类型必定存在备注
errcodenumber返回码
errmsgstring对返回码的文本描述内容
botIdstring托管账号id, 参考botId

botId转换wecomUserId

请示地址:

GET https://hub.juzibot.com/api/v1/bot/botId_to_wecomUserId?token=***&botId=62c7a9a1d22d7e152bf89111

参数说明:

参数类型是否必须备注
tokenstring调用接口凭证 获取方式
botIdstring托管账号id, 参考botId

返回示例:

{
  errcode: 0,
  errmsg: "ok",
  wecomUserId: "userid"
}

参数说明:

参数类型必定存在备注
errcodenumber返回码
errmsgstring对返回码的文本描述内容
wecomUserIdstring托管账号的企微userId, 参考wxUserId
最近更新:
Contributors: hamlin.li, windmemory