Skip to main content
POST
/
twitter
/
tweets
/
{tweet_id}
/
bookmark
Bookmark a Tweet
curl --request POST \
  --url https://api.twitterxapi.com/twitter/tweets/{tweet_id}/bookmark \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cookie": "ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7"
}'
{
  "code": 200,
  "msg": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tweet_id
string
required

The ID of the tweet to bookmark.

Body

application/json

Body for bookmarking a tweet

Twitter authentication cookie or Twitter auth_token, how-to-get-twitter-cookie

Example:

"ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7"

Response

A confirmation of the action's success.

Tweet action response

code
integer
default:200

HTTP status code

msg
string
default:success

Response message

data
boolean
default:true

Success status