Send DM
Send DM to a user, $0.0025 per call.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Parameters for sending DM
Twitter username to send DM to
"myusername"
Message to send
"Hello, how are you?"
Twitter authentication cookie or Twitter auth_token, how-to-get-twitter-cookie
"ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7"
Media URL to send
"https://example.com/image.jpg"
Reply to message ID
"1234567890123456789"
The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port [blocked] . You can get proxy from: https://app.proxy-cheap.com/r/qiMxub
"http://username:password@ip:port"
Response
A message objects.
Response for sending DM
Response code
200
Message sent
"success"
message object
{
"attachment": {
"type": "image",
"url": "https://example.com/image.jpg"
},
"id": "1234567890123456789",
"text": "Hello, how are you?",
"time": "2024-01-01T12:00:00Z"
}