消息服务-企微应用消息发送

更新时间:2022-08-31 17:25:50

接口说明

消息服务-企微应用消息发送

基本信息

请求方式: POST

请求路径:

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

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenant_code body string retesting 租户code
app_code body string YDKF 业务方标识。由企微客服通方提供
user_id body string 44fed568-0832-e711-80ba-e61f13c57312 明源用户ID
msg_id body string 44fed568-0832-e711-80ba-e61f13c57312 消息ID
msg_title body string xxxx绑定房产提醒 标题,不超过128个字节,超过会自动截断
msg_description body string 你负责的项目/楼栋下还有未绑定房产的客户 描述,不超过512个字节,超过会自动截断。

请求示例

{"tenantCode":"retesting"}

返回成功示例

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

返回参数说明(成功)

参数名 参数类型 描述

失败返回示例

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

返回参数说明(失败)

参数名 参数类型 描述

results matching ""

    No results matching ""