探马OpenAPI
  1. 营销内容
探马OpenAPI
  • 开发指南
    • 开发前必读
    • 对接地址说明
    • 调用说明
    • 接口鉴权说明
    • 对接测试
      POST
  • 基础接口
    • 获取客户id
      POST
    • 获取员工id
      POST
  • 客户设置
    • 查询企业字段
      POST
    • 查询客户字段
      POST
    • 按时间段消除积分(已废弃)
      POST
  • 消息推送
    • 概述
    • 消息推送数据格式
    • 消息推送类型
      • 推送地址注册回调推送
      • 企微客户新增推送
      • 企微客户修改推送
      • 企微客户删除消息推送
      • 企微客户跟进数据变更推送
      • 积分/评分变更消息推送
      • 客户
        • 新增探马客户推送
        • 修改探马客户推送
        • 删除探马客户推送
        • 新增客户联系人消息推送
        • 编辑客户联系人消息推送
        • 删除客户联系人消息推送
      • 订单
        • 新增探马订单推送
        • 修改探马订单推送
      • 标签
        • 客户标签变更推送
        • 企微标签变更推送
        • 内容标签变更推送
        • 企微个人标签变更推送
      • 合同
        • 合同变更推送
      • 商机
        • 客户商机变更推送
      • 企业
        • 企业信息变更推送
        • 推送字段映射
        • 查询已映射的推送字段
      • 通话记录
        • 通话记录推送
      • 跟进记录
        • 写跟进记录推送
    • 推送注册接口
      POST
  • 客户&线索&待分配
    • 客户查询
      • 高级筛选接口(新版)
      • 查询没有群聊的客户
      • 客户高级筛选接口
    • 客户导入
      • 对接前必读
      • 字段映射
        • 客户字段映射
      • 个人线索导入
      • 个人待分配客户导入
      • 个人客户导入
      • 企业线索导入
      • 企业待分配客户导入
      • 企业客户导入
    • 客户
      • 客户数据
        • 必读说明
        • 字段映射
          • 列出客户数据字段列表
          • 映射外部CRM客户数据字段
        • 客户详情
          • 按企微客户id获取详情
          • 按新增时间查询企微客户数据
          • 按详情字段更新时间查询企微客户数据
        • 客户标签
          • 列出企微客户企业标签树
          • 按企微客户id列出客户企业标签(批量)
          • 更新企微客户企业标签
        • 客户跟进
          • 获取指定企微客户的跟进数据
          • 创建企微客户的跟进
          • 删除企微客户的跟进
          • 查询客户跟进记录
        • 客户通话
          • 查询电销手机通话记录
        • 客户文件
          • 客户文件查询接口
          • 客户文件上传
      • 客户聊天
        • 基于时间段内聊天数统计
      • 已跟进客户数据
        • 列出销售跟进的客户
        • 按跟进关系创建时间升序列出已跟进的客户
        • 按跟进关系字段更新时间升序列出已跟进的客户
        • 更新已跟进客户昵称
        • 更新已跟进客户头像
        • 更新已跟进客户备注名
        • 更新已跟进客户字段
        • 更新已跟进客户标签
        • 列出指定客户跟进内容
        • 写客户跟进
        • 跟进记录批量导入
    • 线索&待分配
      • 按创建时间列出线索&待分配客户
      • 按更新时间列出线索&待分配客户
      • 获取线索&待分配客户详情
      • 更新线索&待分配客户字段
      • 编辑 线索&待分配客户 标签
      • 列出指定线索&待分配客户跟进内容
      • 写线索&待分配客户跟进
    • 商机
      • 查询商机配置
      • 获取商机列表
      • 创建客户商机
      • 修改客户商机
      • 查询客户商机
      • 获取客户商机详情
      • 获取探马商品列表
    • 个人客户转企业客户
      • 个人客户转企业客户
    • 企业客户联系人
      • 接口须知
      • 查询联系人
      • 创建联系人
      • 修改联系人
      • 删除联系人
    • 客户旅程
      • 查询旅程
    • 客户操作
      • 修改客户
      • 合并客户
      • 转移客户
      • 变更跟进人
      • 更新企微客户详情(批量)
      • 修改客户积分
      • 添加协作人
    • 按企微员工id列出企微好友客户详情
  • 公海
    • 接口调用须知
    • 公海客户高级筛选列表
    • 公海-转出记录列表
    • 列出客户数据字段列表
    • 列出企业字段列表
    • 查询公海客户库
    • 公海-个人客户批量导入
    • 公海-企业客户批量导入
    • 公海-个人客户批量更新
    • 公海-企业客户批量更新
    • 查询公海销售对应客户的联系人信息
    • 查询错误信息
  • 企微组织架构
    • 对接前必读
    • 员工
      • 创建员工
      • 更新员工
      • 读取员工
      • 启用/禁用员工
      • 探马后台登录权限
    • 部门
      • 创建部门
      • 编辑部门
      • 获取部门信息
    • 获取组织架构信息
  • 企微标签库
    • 标签树
    • 编辑标签组
    • 删除标签组
    • 添加标签
    • 编辑标签
    • 删除标签
  • 企业
    • 获取企业信息
    • 创建企业
  • 合同
    • 必读说明
    • 保存合同字段映射
    • 获取合同和回款单自定义字段
    • 查询配置的合同映射字段
    • 查询回款单列表
    • 合同扩展字段
    • 新建合同
    • 修改合同
    • 查询销售所有部门
    • 查询客户合同关联订单
    • 查询指定客户合同信息
    • 作废/删除合同
    • 查询合同列表
    • 获取合同详情
  • 电商平台
    • 商城
      • H5商城
        • 概述
        • 注册商城
        • 导入商城商品类别
        • 导入商城商品
    • 订单
      • 概述
      • 第三方订单
        • 获取订单自定义字段
        • 自定义字段映射
        • 查询订单列表
        • 查询订单详情
        • 创建/更新订单
        • 批量创建/更新订单
        • 批量创建/更新订单结果查询接口
      • 探马订单
        • 查询探马商城订单详情
        • 查询探马商城订单列表
        • 获取探马商城订单自定义字段
        • 修改探马商城订单状态
  • 营销
    • 营销内容
      • 表单
        • 获取表单收集明细
      • 自定义
        • 创建自定义内容
        • 更新自定义内容
        • 删除自定义内容
        • 获取自定义内容详情
      • 获取营销内容分类
        POST
      • 获取营销内容及明细
        POST
      • 获取营销内容-内容标签
        POST
      • 获取营销内容-员工分享明细
        POST
    • 企微获客
      • 获取企微获客所有表单
      • 获取兑换码手机号
    • 渠道活码
      • 渠道活码创建接口
      • 渠道活码更新接口
      • 获取渠道活码详情
      • 获取渠道活码分组
      • 获取渠道活码列表
      • 获取渠道活码分析数据
    • 一客一码
      • 批量删除
      • 查询/创建接口
    • 问答库
      • 层级展示分组
      • 创建问答库分组
      • 编辑分组
      • 删除分组
      • 新建问答
      • 删除问答
      • 编辑问答
      • 问答详情
      • 编辑关键词
      • 删除关键词
      • 新建关键词
      • 查询公司下所有关键词
      • 文件上传
    • 获客活动
      • 获取获客活动参与记录
  • 数据统计
    • 获取微信跟进统计数据明细
    • 获取内容营销员工统计数据明细
  • 内容访客
    • 按内容访问时间列出访客事件信息
  • 电销手机
    • 一键拨号
  • SOP任务
    • 接口说明
    • 客户SOP
      • 客户SOP-群发活动SOP
      • 客户SOP-定期提醒SOP
      • 客户SOP-新增好友SOP
      • 客户SOP-群发助手SOP
      • 创建添加客户任务(分配线索/待分配客户)
    • 群SOP
      • 创建手动发送SOP
      • 创建群发助手SOP
      • 创建群群发任务
      • 创建客户群发任务
    • 跟进客户SOP
      • 跟进客户任务-客户跟进
    • 朋友圈运营
      • 朋友圈任务执行详情
      • 创建朋友圈任务
      • 删除/中止朋友圈任务
      • 查询朋友圈列表
    • 客户群群发
      • 客户群群发任务执行详情
      • 客户群群发任务列表
    • 客户群发
      • 群发任务执行详情
      • 客户群发任务列表
    • 分页查询员工信息
    • SOP任务-查询销售跟进客户关系
    • 查询标签树
    • 查询营销内容明细数据
    • 查询SOP任务中所需客户字段
    • 查询群列表
    • 查询群标签列表
    • SOP素材上传接口
    • 获取群成员列表
  • 群发消息
    • 创建客户群发消息
    • 上传文件
  • 管控
    • 敏感动作
      • 敏感动作列表接口
  • 工单
    • 工单列表
    • 工单详情
    • 模板列表
    • 创建工单
  • 素材
    • 文件上传
  • 应用通知
    • 应用通知
  • 附录
    • 全局参考文档
    • 前端SDK文档
  • 群数据
    • 群画像
    • 更新群字段
  • 店主活码
    • 店主活码state转换活码名接口
  1. 营销内容

获取营销内容及明细

POST
/api/v3/customer-relation/company-marketing-content-list
image.png

请求参数

Header 参数
appId
string 
应用 appId
必需
默认值:
{{appId}}
timestamp
string 
请求时间戳
必需
默认值:
{{timestamp}}
sign
string 
请求消息签名值
必需
默认值:
{{sign}}
appKey
string 
应用 appKey
可选
默认值:
{{appKey}}
Body 参数application/json
pageSize
integer 
数量
必需
默认值:10 最小值:1(包含) 获取数量。默认10。暂不限制最大数量,未来可能进行限制消息内容,文件时返回全部的
pageNo
integer 
页码
必需
默认:1
type
integer 
类型
必需
目前分为1:文章,2:海报,3:早报,4:朋友圈素材,5:视频,6:宣传册,7:案例,8:表单,9:文件,10:名片,11:产品,13:自定义
示例
{
  "pageSize": 10,
  "pageNo": 1,
  "type": 1
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v3/customer-relation/company-marketing-content-list' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pageSize":10,
    "pageNo":1,
    "type":1
}'

返回响应

🟢200成功
application/json
Body
code
integer 
状态码
可选
非0代表错误
message
string 
返回描述
可选
data
object 
返回数据
可选
pageSize
integer 
分页数量
可选
默认:10
pageNo
integer 
页码
可选
默认:1
totalCount
integer 
营销内容总数量
可选
50
result
array [object {31}] 
结果
可选
currentPage
integer 
当前页
可选
totalPage
integer 
总页数
可选
示例
{
  "code": 0,
  "message": "success",
  "data": {
    "pageSize": 10,
    "pageNo": 1,
    "totalCount": 1116,
    "result": [
      {
        "id": "b95b817d995911ec96fa00163e35398d",
        "title": "123456",
        "cover": "https://account.tanmarket.cn/fdfsServer/group1/M01/CB/1A/rBHTwWIeDx6AAKQ6AACsy3Nlp6o71.jpeg",
        "source": "公众号转载",
        "createTime": "2022-03-01 18:34:12",
        "creatorId": 363062119469760,
        "creatorName": "admin",
        "share": 1,
        "uv": 1,
        "newContact": 0,
        "categoryId": "wx-446775759870272-ww51046ddc4f4df510",
        "categoryName": "向量对齐",
        "enableStatus": true,
        "tags": [],
        "summary": "123456",
        "isImported": true,
        "syncType": 1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1646130852000
      },
      {
        "id": "a5f6a530993211ecba7b00163e35398d",
        "title": "测试",
        "cover": "https://account.tanmarket.cn/fdfsServer/group1/M01/CA/49/rBHTwWIdzX-AHqI3AAXcE8iy2rA755.png",
        "source": "11",
        "createTime": "2022-03-01 15:38:55",
        "creatorId": 408501349730496,
        "creatorName": "任靖",
        "share": 5,
        "uv": 2,
        "newContact": 0,
        "categoryId": "1-ww51046ddc4f4df510",
        "categoryName": "未分类",
        "enableStatus": true,
        "tags": [],
        "summary": "11111",
        "isImported": false,
        "syncType": -1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1646120335348
      },
      {
        "id": "e83ff0ad990c11ecbca300163e371fe1",
        "title": "11",
        "cover": "https://account.tanmarket.cn/fdfsServer/group1/M01/C9/85/rBHTwWIdjfmAFtP0AAEkkRMn3gk361.jpg",
        "source": "11",
        "createTime": "2022-03-01 11:08:45",
        "creatorId": 453243711052096,
        "creatorName": "管水玲",
        "share": 4,
        "uv": 2,
        "newContact": 0,
        "categoryId": "wx-419514210435392-ww51046ddc4f4df510",
        "categoryName": "虎鲸跳跃科技",
        "enableStatus": true,
        "tags": [
          {
            "id": "c736da098fd811ecbf1e00163e0e22ce:2l",
            "label": "18号 双井优惠",
            "parentLabel": "18号 双井优惠",
            "removable": null
          }
        ],
        "summary": "\\ 2022 RECRUIT****\\ 2022 RECRUIT2022年校园",
        "isImported": false,
        "syncType": -1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1646104125684
      },
      {
        "id": "c1b08cf0986711ec8e1100163e35398d",
        "title": "探马陪跑服务,帮助客户「用好」企业微信,真正助力业务增长!",
        "cover": "https://account.tanmarket.cn/fdfsServer/group2/M00/34/AD/rBHTxWGwZbaALTbSAAFBBlHzM_I859.png",
        "source": "肖木玄",
        "createTime": "2022-02-28 15:26:34",
        "creatorId": 410805835813184,
        "creatorName": "肖木玄",
        "share": 15,
        "uv": 4,
        "newContact": 0,
        "categoryId": "1-ww51046ddc4f4df510",
        "categoryName": "未分类",
        "enableStatus": true,
        "tags": [],
        "summary": "探马陪跑——让方案更落地,让实操更简单!",
        "isImported": true,
        "syncType": 1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1646033194029
      },
      {
        "id": "dcc09d2c984211ecb45100163e371fe1",
        "title": "测试123",
        "cover": "https://account.tanmarket.cn/fdfsServer/group2/M01/C6/51/rBHTw2IcOyaARjW5AACVsjneCrM226.jpg",
        "source": "1234",
        "createTime": "2022-02-28 11:02:28",
        "creatorId": 363062119469760,
        "creatorName": "admin",
        "share": 5,
        "uv": 5,
        "newContact": 0,
        "categoryId": "1-ww51046ddc4f4df510",
        "categoryName": "未分类",
        "enableStatus": true,
        "tags": [],
        "summary": "12345",
        "isImported": false,
        "syncType": -1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1646017348053
      },
      {
        "id": "7fcd9632978511ec8a4300163e371fe1",
        "title": "有哪些适合女生大姨妈期间吃的美食?",
        "cover": "https://account.tanmarket.cn/fdfsServer/group3/M01/C4/D8/rBHTwWIa_WmAVljOAADef4Ye1is511.jpg",
        "source": "知乎",
        "createTime": "2022-02-27 12:26:57",
        "creatorId": 440509098088640,
        "creatorName": "于江",
        "share": 4,
        "uv": 3,
        "newContact": 0,
        "categoryId": "1-ww51046ddc4f4df510",
        "categoryName": "未分类",
        "enableStatus": true,
        "tags": [],
        "summary": "哦哈呦~对女票如此贴心的汉纸真是棒棒哒,我来发挥一下我仅有的这点知识来帮帮你吧",
        "isImported": false,
        "syncType": -1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1645936017228
      },
      {
        "id": "678d14cf96f711eca8f500163e35398d",
        "title": "黄夏温表情包:我受不了这个委屈",
        "cover": "https://account.tanmarket.cn/fdfsServer/group2/M01/C3/98/rBHTxWIaDsSAUcGxAAAHOsPzyuc524.png",
        "source": "公众号转发",
        "createTime": "2022-02-26 19:29:48",
        "creatorId": 460372081299968,
        "creatorName": "陈建鑫",
        "share": 3,
        "uv": 2,
        "newContact": 0,
        "categoryId": "1-ww51046ddc4f4df510",
        "categoryName": "未分类",
        "enableStatus": true,
        "tags": [],
        "summary": "黄夏温",
        "isImported": true,
        "syncType": 1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1645874988006
      },
      {
        "id": "f443edb3956511ec96e800163e35398d",
        "title": "查违章",
        "cover": "https://account.tanmarket.cn/fdfsServer/group1/M00/8D/DB/rBHTxWFABVSAMk3DAAFjacUJ1CE722.png",
        "source": "曾秋源",
        "createTime": "2022-02-24 19:36:06",
        "creatorId": 426387967582464,
        "creatorName": "曾秋源",
        "share": 12,
        "uv": 12,
        "newContact": 0,
        "categoryId": "1-ww51046ddc4f4df510",
        "categoryName": "未分类",
        "enableStatus": true,
        "tags": [
          {
            "id": "a313ca02955711ec954400163e0e22ce:2l",
            "label": "产品初步了解",
            "parentLabel": "李先生",
            "removable": null
          }
        ],
        "summary": "查违章",
        "isImported": false,
        "syncType": -1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1645702566400
      },
      {
        "id": "9b050c2d950e11ec826900163e371fe1",
        "title": "蜀道难",
        "cover": "https://account.tanmarket.cn/fdfsServer/group3/M01/BD/4B/rBHTw2IWCkGAKRsSAAoh3C2tmaM757.png",
        "source": "百度",
        "createTime": "2022-02-24 09:10:50",
        "creatorId": 461909436344768,
        "creatorName": "杨之煜",
        "share": 10,
        "uv": 8,
        "newContact": 0,
        "categoryId": "1-ww51046ddc4f4df510",
        "categoryName": "未分类",
        "enableStatus": true,
        "tags": [],
        "summary": "噫吁嚱,危乎高哉!蜀道之难,难于上青天!蚕丛及鱼凫,开国何茫然!尔来四万八千岁",
        "isImported": false,
        "syncType": -1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1645665050457
      },
      {
        "id": "cc07425093d811ec8f9f00163e0e22ce",
        "title": "点查违章",
        "cover": "https://account.tanmarket.cn/fdfsServer/group3/M01/BD/54/rBHTwWIV8ceAVlh6AAD47JsA3o0096.png",
        "source": "官网",
        "createTime": "2022-02-22 20:13:08",
        "creatorId": 434902284476608,
        "creatorName": "瓜子脸您猴子",
        "share": 16,
        "uv": 17,
        "newContact": 0,
        "categoryId": "1-ww51046ddc4f4df510",
        "categoryName": "未分类",
        "enableStatus": true,
        "tags": [],
        "summary": "详情请点击添加老师微信",
        "isImported": false,
        "syncType": -1,
        "params": null,
        "address": null,
        "fileSize": null,
        "parentId": null,
        "planedDate": null,
        "fileScope": null,
        "answers": null,
        "templateName": null,
        "email": null,
        "location": null,
        "position": null,
        "phoneNum": null,
        "qrCode": null,
        "createTimeAsTimestamp": 1645531988690
      }
    ],
    "currentPage": 1,
    "totalPage": 112
  }
}
🟢200错误
上一页
获取营销内容分类
下一页
获取营销内容-内容标签
Built with