DM Endpoints

Get Conversations (XChat v3)

Get XChat conversation list. Use count for page size (10–200). Set all=true to follow the inbox cursor and return every conversation.

post/v3/twitter/conversations

Request

  • Base URL: https://api.twexapi.io
  • URL: https://api.twexapi.io/v3/twitter/conversations
  • Auth: HTTP bearer

Request body

countinteger nullable

Max conversations per page (10–200, default 20).

allboolean nullable

Follow the inbox cursor and return every conversation (may be slow).

cookiestring required

The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See Authentication Security and How to get Cookie.

proxystring nullable

Optional HTTP proxy. Example: http://username:password@ip:port

Example request

{
  "count": 100,
  "all": true,
  "cookie": "ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7",
  "proxy": "http://username:password@ip:port"
}

Response

A list of conversation objects.

codeinteger required

Response code

msgstring required

Response message

Example response

{
  "code": 200,
  "msg": "success",
  "data": [
    {
      "conversation_id": "1928096185664843776:1989842918455291904",
      "type": "direct",
      "participants": [
        "1928096185664843776"
      ]
    }
  ]
}

Changes

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