消息服务-接收第三方推送消息

更新时间:2025-06-04 10:54:40

接口说明

消息服务-接收第三方推送消息

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/szmc/wework-api/message/receive-message

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
o body string retesting 租户Code
privateKey body string privateKey 分配接口租户key
msg_handler_id body string 3a00a6ed-35c0-4a7c-d8d2-fe978cc96816 消息推送处理批次ID
member_id body string 39f69283-5cb5-d60f-755b-c025b12e92b3 会员ID
mobile body string 12345678910 手机号码
room_id body string 39d7cb0d-18bb-d5fd-fd23-8a3b2d09614b 房间ID
floor body string 1 房产楼层
unit body string 1单元 房产单元
building_id body string 39d7cb0d-18bb-a513-f833-d00180f98bdb 房产楼栋ID
proj_id body string 39d7cb0d-185f-e23d-4d7a-354b3d55a5a8 项目ID
corp_id body string 39d7cb0c-592b-e7eb-f51c-bc84b3d07d02 公司ID
msg_id body string 3a00a6ed-35d4-404f-97a6-f521d5ad6e3a 消息ID
msg_title body string 准业主调研 消息标题
msg_description body string 调研消息描述 消息描述
msg_content body string 尊敬的{客户姓名},为了监督和提升我们的服务品质,邀请您做一个简单的回访,点击{问卷地址}开始答题。回复TD退订。 消息内容
msg_cover_url body string 消息封面
msg_url body string https://kefu-test.myyscm.com/short/xx-xx 消息链接跳转
business_type body string 准磨养老调研 业务类型。准磨养老调研、日常服务调研、客户活动调研、自动触点调研、发布家书、全周期客户关怀、客户活动
business_id body string 3a00a6ed-35d4-06d5-c467-0d183d39fe85 业务方业务ID
msg_time body string 2021-12-07 12:11:25 消息发送时间
callback_url body string 消息回调url,与callback_id必须同时存在一个
callback_id body string 3a00a6ed-35d4-06d5-c467-0d183d39fe85 消息回调业务ID,与callback_url必须同时存在一个

请求示例

{"o":"retesting","privateKey":"privateKey","msg_handler_id":"3a00a6ed-35c0-4a7c-d8d2-fe978cc96816","member_id":"39f69283-5cb5-d60f-755b-c025b12e92b3","mobile":"15994970111","room_id":"39d7cb0d-18bb-d5fd-fd23-8a3b2d09614b","floor":"1","unit":"1单元","building_id":"39d7cb0d-18bb-a513-f833-d00180f98bdb","proj_id":"39d7cb0d-185f-e23d-4d7a-354b3d55a5a8","corp_id":"39d7cb0c-592b-e7eb-f51c-bc84b3d07d02","msg_id":"3a00a6ed-35d4-404f-97a6-f521d5ad6e3a","msg_title":"准业主调研","msg_description":"调研消息描述","msg_content":"尊敬的{客户姓名},为了监督和提升我们的服务品质,邀请您做一个简单的回访,点击{问卷地址}开始答题。回复TD退订。","msg_cover_url":"","msg_url":"https://kefu-test.myyscm.com/short/xx-xx","business_type":"准磨养老调研","business_id":"3a00a6ed-35d4-06d5-c467-0d183d39fe85","msg_time":"","callback_url":"","callback_id":"3a00a6ed-35d4-06d5-c467-0d183d39fe85"}

返回成功示例

{"errcode":0,"errmsg":"ok","data":{"msg_id":"3a009fdb-d74c-77d2-da2f-3728f5ad4adf"}}

返回参数说明(成功)

参数名 参数类型 描述
msg_id string 企微客服通消息ID

失败返回示例

{
  "errcode": 50001,
  "errmsg": "系统异常"
}

返回参数说明(失败)

参数名 参数类型 描述

results matching ""

    No results matching ""