curl --request GET \ --url https://api.twitterxapi.com/twitter/{auth_token}/cookie
Copy
{ "code": 200, "msg": "success", "data": "<any>"}
Cookie Endpoints
Get cookie by auth token
Retrieve Twitter authentication cookie using the provided auth token. This endpoint converts an auth token into a usable cookie for Twitter API requests.
GET
/
twitter
/
{auth_token}
/
cookie
Get cookie by auth token
Copy
curl --request GET \ --url https://api.twitterxapi.com/twitter/{auth_token}/cookie