Delete Post

POST/tw-v2/interaction/delete-post

Description

Delete a tweet posted by the authenticated user.

Request Body

ParameterTypeRequiredDescription
authTokenstringrequiredTwitter authentication token (auth_token cookie value)
tweetIdstringrequiredThe ID of the tweet to delete
proxystringoptionalOptional proxy in format 'host:port@user:pass'

Code Examples

const body = {
  authToken: 'YOUR_AUTH_TOKEN',
  tweetId: '1234567890'
};

const response = await fetch('https://api.tweetapi.com/tw-v2/interaction/delete-post', {
  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": "1973678938863058994",
    "action": "delete_tweet",
    "timestamp": "2025-10-02T09:22:28.825Z",
    "success": true,
    "metadata": {
      "tweet_id": "1973678938863058994"
    }
  }
}

API Playground

POST/tw-v2/interaction/delete-post

Sensitive Credentials Required

Requires your Twitter authToken. Use a test account.

Press ⌘ + Enter to execute

curl -X POST "https://api.tweetapi.com/tw-v2/interaction/delete-post" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

Click "Try It!" to see the response