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/callAl precio del proveedor
- 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
Parámetros
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
Esta herramienta no tiene parámetros. Consulta la documentación del proveedor ↗ Provider docs
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.015/call, incluida la tarifa de servicio.