Docs
搜索文档...⌘K

创建帖子

仅限 API
POST/v3/social-media/post

对此端点的请求免费,不会消耗任何 API 单位。

查询参数

outputstring

输出格式。

允许的值:jsoncsvxmlphp

请求正文

channel_idsarray<string>Required

用于发布帖子的频道 ID 列表(不能为空)。

text_contentstringRequired

帖子的文本内容。

timingstringRequired

何时发布帖子。

Allowed values:publish_nowscheduleddraft
scheduled_atstring

定时发布帖子的时间戳(当 timing 为 scheduled 时必填),采用 ISO 8601 格式。返回值为 UTC 时间。

Example:2026-01-01T12:00:00Z
auto_commentstring

发布后自动发布的评论文本。

响应

postobject
author_idstring or null

作者的唯一标识符。

author_namestring or null

作者的名称。

auto_commentstring or null

发布后自动发布的评论文本。

channelsarray<object>

与帖子关联的社交媒体频道。

channel_idstring
channel_kindstring
channel_usernamestring
channel_display_namestring
channel_profile_image_urlstring or null
created_atstring

作者创建帖子的时间戳。

external_post_idstring or null

平台特定的帖子标识符。

permalinkstring or null

平台上已发布帖子的 URL。

post_idinteger

帖子的唯一标识符。

status_timestampstring

与当前状态关联的时间戳。

text_contentstring

帖子的文本内容。