Follow
POST
/tw-v2/interaction/followDescription
Follow a Twitter/X user account.
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
| authToken | string | required | Twitter authentication token (auth_token cookie value) |
| userId | string | required | The numeric user ID of the account to follow |
| proxy | string | optional | Optional proxy in format 'host:port@user:pass' |
Code Examples
const body = {
authToken: 'YOUR_AUTH_TOKEN',
userId: '44196397'
};
const response = await fetch('https://api.tweetapi.com/tw-v2/interaction/follow', {
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": "1968007982257405952",
"action": "follow",
"timestamp": "2025-10-05T06:53:46.202Z",
"success": true,
"metadata": {
"user_id": "1968007982257405952"
}
}
}API Playground
POST
/tw-v2/interaction/followSensitive Credentials Required
Requires your Twitter authToken. Use a test account.
Press ⌘ + Enter to execute
curl -X POST "https://api.tweetapi.com/tw-v2/interaction/follow" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"Response
Click "Try It!" to see the response