- OpenAPI基本介绍
- 错误码参考表
- 访问频率和并发限制
- 消息订阅
- 获取访问凭据
- 员工管理
- 自定义订单管理
- 客户管理
- 客户积分管理
- 客户标签管理
- 客户画像管理
- 标签库管理
- 群聊管理
- 工单管理
- 销售过程管理
- 聊天记录管理
- 拉新排行榜
- 群裂变
- 群打卡
- 企微任务宝
- 拉新排行榜
- 自定义表单
- 客户转化
- 员工个人群发记录管理
- 渠道码管理
- 素材库管理
- 互动雷达管理
- 自定义侧边栏身份校验
- 有赞订单管理
- 小鹅通订单管理
- 项目管理
- 门店信息
- 人群包
- 客户群发
- 企微朋友圈
- 个人SOP
- 部门管理
- 群标签管理
- 话术库
- 企微数据专区
企微朋友圈创建
POST
/open-api/moment_message/add
请求参数
Query 参数
access_token
string
调用接口凭证
默认值:
{{access_token}}
Body 参数application/json
name
string
朋友圈名称
text
string
文本内容
create_staff_ext_id
string
创建员工ID
staff_ext_ids
array[string]
所选员工ID
tag_list
array[string]
筛选标签列表
image_urls
array[string]
图片链接,最多9图
video_url
string
视频链接,最多1个
link
object
链接,最多1个
title
string
链接标题
url
string
链接url
type
enum<string>
附件类型
枚举值:
imagelinkvideo
示例
{
"type": "image",
"name": "officia eiusmod",
"create_staff_ext_id": "commodo",
"staff_ext_ids": [
"voluptate do sit",
"velit",
"pariatur velit incididunt ea ex"
],
"text": "nostrud ex proident in",
"video_url": "dolore",
"image_urls": [
"reprehenderit in quis Lorem",
"et",
"et ut pariatur elit eu",
"nostrud nisi"
],
"link": {
"url": "id eu",
"title": "est dolor"
},
"tag_list": [
"cupidatat aliquip amet elit",
"ut reprehenderit in ad ipsum"
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.weibanzhushou.com/open-api/moment_message/add?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "image",
"name": "officia eiusmod",
"create_staff_ext_id": "commodo",
"staff_ext_ids": [
"voluptate do sit",
"velit",
"pariatur velit incididunt ea ex"
],
"text": "nostrud ex proident in",
"video_url": "dolore",
"image_urls": [
"reprehenderit in quis Lorem",
"et",
"et ut pariatur elit eu",
"nostrud nisi"
],
"link": {
"url": "id eu",
"title": "est dolor"
},
"tag_list": [
"cupidatat aliquip amet elit",
"ut reprehenderit in ad ipsum"
]
}'
返回响应
🟢200成功
application/json
Body
errcode
string
必需
errmsg
string
必需
error_unionids
string
必需
moment_id
string
必需
示例
{
"errcode": "string",
"errmsg": "string",
"error_unionids": "string",
"moment_id": "string"
}
🟢200正常返回
修改于 2024-03-05 07:28:03