跳转到主要内容
PUT
Targeting X/Twitter? Starting March 31, 2026, all X operations require your own API credentials. After linking X via OAuth, include these 2 headers in your request:

X-Twitter-OAuth1-Api-Key — Your API Key (Consumer Key)
X-Twitter-OAuth1-Api-Secret — Your API Key Secret (Consumer Secret)

One-time setup per Ayrshare account. You create one X Developer App and reuse the same API Key and Secret across every sub-profile / end-user you link. You do not create a new app per customer.

Not linked yet? See the full setup guide to connect your X account.

Your keys are never logged or stored by Ayrshare.
重试发布 status 为 "error" 的失败帖子。重试的帖子将被视为已安排的帖子,因此可以通过 /history 端点或 scheduled action webhook 获取最终状态。 在帖子重试期间,status 将为 "pending"。你可以通过调用 GET post 端点 检查重试的状态。 该帖子_只能重试一次_。建议仅在错误消息表明可以重试时使用。
在重试失败的社交媒体帖子时,请首先确认该帖子尚未 发布。社交网络有时可能会报告错误,即使它们已成功处理 并发布了帖子。

Header 参数

Body 参数

string
必填
顶层 Ayrshare Post ID。原始帖子的状态必须为 “error”。