# 通过企微中台组织代码获取消息处理器
# 请求方式
GET
# 请求地址
https://nbd-api.myscrm.cn/bff-nbd-qw-openapi/v1/msg-handler/get-by-organ_code
# 请求参数
# 示例
https://nbd-api.myscrm.cn/bff-nbd-qw-openapi/v1/msg-handler/get-by-organ_code?organ_code=xxx
# 说明
| 参数 | 类型 | 必须 | 说明 |
|---|---|---|---|
| organ_code | string | 是 | 企微中台组织 id |
# 返回参数
# 示例
{
"msg_handler": {
"msg_handler_id": "string",
"app_id": "string",
"organ_code": "string",
"callback_url": "string",
"token": "string",
"encoding_aes_key": "string",
"listen_event_list": ["string"],
"is_enable": true
}
}
# 说明
| 参数 | 类型 | 说明 |
|---|---|---|
| msg_handler | object | 实体 |
| msg_handler_id | string | 消息处理器 id |
| app_id | string | 企微中台应用 id |
| organ_code | string | 企微中台组织代码 |
| callback_url | string | url 回调 url |
| token | string | token 自定义的随机数 |
| encoding_aes_key | string | 加密密钥 |
| listen_event_list | string [] | 需要订阅的事件类型 |
| is_enable | bool | 是否启用 |