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/callAu prix du fournisseur
- 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
Paramètres
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
Cet outil n’a pas de paramètres. Voir la doc du fournisseur ↗ Provider docs
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.015/call, frais de service inclus.