上传文件
POST
/api/v3/customer/uploadFile
对于SOP任务-"朋友圈运营-创建朋友圈任务",必传
发表类型为"企业发表"时,useType:send_moments_corp
发表类型为"员工转发"时,useType:send_moments_customer
创建朋友圈内容: 支持 1 图片 3视频
创建朋友圈:
图片:最大10M, 最大分辨率:1440x1080,支持png、jpg格式
视频:最大10M, 最大分辨率:1280x720,内容最长30s,支持mp4格式
file:支持文件最大5M
type: 1 图片,2 语音,3 视频,4 文件
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数multipart/form-data
type
必需
示例值:
1
file
file
上传文件
示例值:
C:\Users\86151\Pictures\4.jpg
useType
string
可选
示例值:
send_moments_corp
示例代码
返回响应
修改于 2023-06-01 06:35:05