GET /twitter/get_dm_history_by_user_id

Changed on

Get the direct message history with a user.

Request

  • Base URL
    https://api.twitterapi.io
  • URL
    https://api.twitterapi.io/twitter/get_dm_history_by_user_id
  • Auth
    API key in header X-API-Key

Query parameters

login_cookiesstring string required

The login cookies of the user.You can get the login_cookie from /twitter/user_login_v2.Must be set

user_idstring string required

The id of the user to get the direct message history with.Must be set

proxystring string

The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504

Response

Messages response

statusstring

Status of the request.success or error

messagestring

Message of the request.error message

Changes