Reply to a tweet or continue your thread by post id
x.x.post.replyReply to an X post, or continue your own thread
- Price
- $0.015/call제공업체 원가
- Success rate
- 100%Last 30 days · 247 calls
- Latency p50
- 321 msp95 503 ms
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/x.x.post.replyPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
to build a thread, feed each response's data.id into the next call's reply.in_reply_to_tweet_id. Replying to a post whose author restricted replies, or that was deleted, answers 403/404 — each call is all-or-nothing, so a half-posted thread stays half-posted
이 도구에는 파라미터가 없습니다. 공급자 문서 ↗를 보세요 Provider docs
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/x.x.post.reply' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/x.x.post.reply",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/x.x.post.reply", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.015/call이며 서비스 수수료가 포함되어 있습니다.