Tweet Action Endpoint
Post/reply/quote a tweet
Get Started
User Endpoint
Tweet Endpoint
List Endpoint
Trend Endpoint
Tweet Action Endpoint
Tweet Action Endpoint
Post/reply/quote a tweet
Create a tweet.Need to login first.Trial operation price: $0.001 per call.
POST
/
twitter
/
create_tweet
curl --request POST \
--url https://api.twitterapi.io/twitter/create_tweet \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"auth_session": "<string>",
"tweet_text": "<string>",
"quote_tweet_id": "<string>",
"in_reply_to_tweet_id": "<string>",
"media_id": "<string>",
"proxy": "<string>"
}'
{
"status": "<string>",
"msg": "<string>",
"data": {
"create_tweet": {
"tweet_result": {
"result": {
"rest_id": "<string>"
}
}
}
}
}
Authorizations
Body
application/json
Response
200
application/json
Create tweet response
The response is of type object
.
curl --request POST \
--url https://api.twitterapi.io/twitter/create_tweet \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"auth_session": "<string>",
"tweet_text": "<string>",
"quote_tweet_id": "<string>",
"in_reply_to_tweet_id": "<string>",
"media_id": "<string>",
"proxy": "<string>"
}'
{
"status": "<string>",
"msg": "<string>",
"data": {
"create_tweet": {
"tweet_result": {
"result": {
"rest_id": "<string>"
}
}
}
}
}