Skip to main content
POST
Get DM History

Authorizations

Authorization
string
header
required

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

Body

application/json

Parameters for getting DM history

username
string
required

Twitter username to get DM history for

Example:

"myusername"

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

Example:

"ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7"

max_id
string | null

Max ID

Example:

"1234567890123456789"

proxy
string | null

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

Example:

"http://username:password@ip:port"

Response

A list of message objects.

Response for getting DM history

code
integer
required

Response code

Example:

200

msg
string
required

Message sent

Example:

"success"

data
MessageModel · object[]
required

List of message objects

Example: