Reply Post With Media
POST
/tw-v2/interaction/reply-post-with-mediaDescription
Reply to an existing tweet with media attachments. Creates a tweet in the conversation thread with up to 4 images or 1 video. Supports text content up to 280 characters for non-premium users, or 25,000 characters for premium users.
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
| authToken | string | required | Twitter authentication token (auth_token cookie value) |
| text | string | required | The text content of the reply (max 280 characters for non-premium, 25,000 for premium) |
| tweetId | string | required | The ID of the tweet to reply to |
| media | array | required | Array of media URLs to attach to the reply |
| proxy | string | required | Proxy in format 'hostname:port@username:password' (required for better success rates) |
| disableLinkPreview | boolean | optional | When true, disables link preview cards for tweets containing URLs (defaults to false) |
Code Examples
const body = {
authToken: 'YOUR_AUTH_TOKEN',
text: 'Hello, world!',
tweetId: '1234567890',
media: [{"url":"https://example.com/image.jpg"}]
};
const response = await fetch('https://api.tweetapi.com/tw-v2/interaction/reply-post-with-media', {
method: 'POST',
headers: {
'X-API-Key': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify(body)
});
const data = await response.json();
console.log(data);
Response
Success Response (200 OK)
200
{
"data": {
"id": "1973679460953260289",
"action": "reply",
"timestamp": "2025-10-02T09:20:27.494Z",
"success": true,
"metadata": {
"tweet_id": "1973679460953260289",
"author_username": "username",
"text": "@lexfridman @durov Testing reply functionality - 1759396827",
"created_at": "Thu Oct 02 09:20:27 +0000 2025",
"url": "https://twitter.com/username/status/1973679460953260289",
"in_reply_to_tweet_id": "1973111601470513650",
"in_reply_to_username": "lexfridman"
}
}
}API Playground
POST
/tw-v2/interaction/reply-post-with-mediaSensitive Credentials Required
Requires your Twitter authToken. Use a test account.
Press ⌘ + Enter to execute
curl -X POST "https://api.tweetapi.com/tw-v2/interaction/reply-post-with-media" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"Response
Click "Try It!" to see the response