跳轉到主要內容
GET
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.
取得透過 Ayrshare 發布的特定貼文的歷史紀錄。回傳狀態、貼文參數與其他詳細資訊。請將 :id 換成 Ayrshare Post ID。
呼叫 /history by id 端點也可以取得相同的資料。

貼文狀態

貼文可能回傳以下狀態。
若要取得所有貼文(包含未透過 Ayrshare 發布的貼文),請參閱 /history 端點。

Header 參數

Path 參數

string
必填
來自 /post 的 Ayrshare Post ID。