Direct Messages (legacy)

[AUTHENTICATED READ] Conversation

Get messages from a specific DM conversation. Returns conversation details, messages, and user data. Supports pagination with cursor for loading message history.

get/tw-v2/interaction/conversation

Request

  • Base URL: https://api.tweetapi.com
  • URL: https://api.tweetapi.com/tw-v2/interaction/conversation
  • Auth: API key in header X-API-Key

Query parameters

authTokenstring required

Caller-supplied auth_token cookie value. Treat it as a secret.

Example:YOUR_AUTH_TOKEN

Account authentication token (auth_token cookie value)

conversationIdstring required

Conversation ID. For 1-on-1 conversations: 'userId1-userId2' (e.g., '123456789-987654321'). For group conversations: single conversation ID (e.g., '1234567890')

cursorstring

Pagination cursor for loading older messages. Obtained from previous response.

proxystring
Example:proxy.example.com:8080@username:password

Optional proxy in format 'host:port@user:pass'

Response

Successful response

messagesMessage[] required
conversationInfoConversation nullable required
cursorstring
hasMoreboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.