Tweet Actions Endpoints
Create a Tweet or Reply
Posts a new tweet. To create a reply, provide the reply_tweet_id. This endpoint does not handle quote tweets,$0.0005 per call.
post/twitter/tweets/create
Request
- Base URL: https://api.twexapi.io
- URL: https://api.twexapi.io/twitter/tweets/create
- Auth: HTTP bearer
Request body
Example request
{
"media_url": "https://example.com/image.jpg",
"media_urls": [
"https://example.com/image1.jpg",
"https://example.com/image2.jpg"
],
"tweet_content": "Hello, Twitter! 🐦",
"delegated_account_username": "elonmusk",
"schedule": "2024-01-01T12:00:00Z",
"reply_tweet_id": "1234567890123456789",
"cookie": "ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7",
"community_name": "Python Developers or 1234567890123456789",
"proxy": "http://username:password@ip:port"
}Response
The ID and user ID of the newly created tweet.
Example response
{
"data": {
"tweet_id": "1234567890123456789",
"user_id": "1234567890"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.