创建发布流程
Changed on接口说明:创建多平台发布 Flow,一次请求可生成多个单平台任务。
调用本接口前,请先确保你已经了解完整发布流程,点击了解完整发布流程。请求体中的 items[n].accountId 必须来自账号列表接口;content.media[n].url 必须是可公网访问的真实媒体 URL,不能直接复制示例中的占位值。推荐先按资源上传教程完成“生成上传签名 → 直传文件 → 确认资源上传”,再填写确认接口返回的 data.url;也可使用其他可被服务端直接访问和解析的真实媒体 URL。链接不可访问或无法解析时会返回 15051(media_unreachable)。publishAt 必须填写未来的 ISO 8601 时间。调用成功后,data.flowId 可用于查询流程详情,data.tasks[n].id 可用于立即发布、重试、取消或修改发布时间。该接口会创建真实发布任务,请确认参数无误后再发送。
额度说明:所有平台合计共享每月 1,000 次免费发布接口调用额度,额度按月刷新。可在国内站 API Key 页面或国际站 API Key 页面查看当前用量和剩余额度。X/Twitter(推特)发布除占用上述额度外,还会产生由 X/Twitter 官方收取的额外费用,详情请查看定价页「社交平台」。超出免费额度后,后续将支持超额 API 请求,按 1.5 积分/次扣费。
Request
- Base URLhttps://aitoearn.cn
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
请求已被服务处理。业务是否成功以响应体 code === 0 为准。
Changes
- breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
///became optional for the status - breaking
the response property
///became optional for the status - breaking
the response property
///became optional for the status - breaking
the
///response's property format changed fromdate-timeto no format for status - info
removed the
-1.00enum value from the///response property for the response status - info
removed the
0.00enum value from the///response property for the response status - info
removed the
1.00enum value from the///response property for the response status - info
removed the
2.00enum value from the///response property for the response status - info
removed the
3.00enum value from the///response property for the response status - info
removed the
4.00enum value from the///response property for the response status - info
removed the
5.00enum value from the///response property for the response status - info
removed the
6.00enum value from the///response property for the response status - info
removed the
7.00enum value from the///response property for the response status - info
removed the
8.00enum value from the///response property for the response status - info
removed the
9.00enum value from the///response property for the response status - info
removed the
KWAIenum value from the///response property for the response status - info
removed the
bilibilienum value from the///response property for the response status - info
removed the
douyinenum value from the///response property for the response status - info
removed the
facebookenum value from the///response property for the response status - info
removed the
failedenum value from the///response property for the response status - info
removed the
google_businessenum value from the///response property for the response status - info
removed the
instagramenum value from the///response property for the response status - info
removed the
linkedinenum value from the///response property for the response status - info
removed the
pendingenum value from the///response property for the response status - info
removed the
pinterestenum value from the///response property for the response status - info
removed the
readyenum value from the///response property for the response status - info
removed the
threadsenum value from the///response property for the response status - info
removed the
tiktokenum value from the///response property for the response status - info
removed the
twitterenum value from the///response property for the response status - info
removed the
wxGzhenum value from the///response property for the response status - info
removed the
wxSphenum value from the///response property for the response status - info
removed the
xhsenum value from the///response property for the response status - info
removed the
youtubeenum value from the///response property for the response status
- breaking