> ## Documentation Index
> Fetch the complete documentation index at: https://docs.twexapi.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Conversations (XChat v3)

> Get XChat conversation list.



## OpenAPI

````yaml /api-reference/openapi.json post /v3/twitter/conversations
openapi: 3.1.0
info:
  title: Twitter API Service
  description: |2-

            A comprehensive Twitter API service that provides various Twitter operations including:
            
            * **Search Operations**: Advanced search, hashtags, cashtags
            * **Tweet Operations**: Post, like, retweet, quote, bookmark, delete
            * **User Operations**: Batch user information retrieval
            * **Influencer Operations**: Get tweets from top influencers
            
            All endpoints return standardized responses in the format:
            ```json
            {
                "code": 200,
                "msg": "success", 
                "data": {...}
            }
            ```
            
            ## Authentication
            
            This API uses Bearer token authentication. Include your token in the Authorization header:
            ```
            Authorization: Bearer your_token_here
            ```
            
  contact:
    name: API Support
    email: support@twitterxapi.com
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.twexapi.io
    description: Development server
security: []
paths:
  /v3/twitter/conversations:
    post:
      tags:
        - DM Endpoints
      summary: Get Conversations (XChat v3)
      description: Get XChat conversation list.
      operationId: conversations_api_v3_v3_twitter_conversations_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetConversationsV3Query'
        required: true
      responses:
        '200':
          description: A list of conversation objects.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetConversationsV3Response'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    GetConversationsV3Query:
      properties:
        cookie:
          type: string
          title: Cookie
          description: >-
            Twitter authentication cookie or Twitter auth_token,
            [how-to-get-twitter-cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie)
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
        proxy:
          anyOf:
            - type: string
            - type: 'null'
          title: Proxy
          description: >-
            Proxy ref for XChat session. Example:
            http://username:password@ip:port
          example: http://username:password@ip:port
      type: object
      required:
        - cookie
      title: GetConversationsV3Query
      description: Parameters for getting XChat conversation list
    GetConversationsV3Response:
      properties:
        code:
          type: integer
          title: Code
          description: Response code
          example: 200
        msg:
          type: string
          title: Msg
          description: Response message
          example: success
        data:
          items:
            $ref: '#/components/schemas/ConversationV3Model'
          type: array
          title: Data
          description: Conversation list
      type: object
      required:
        - code
        - msg
        - data
      title: GetConversationsV3Response
      description: Response for getting XChat conversation list
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ConversationV3Model:
      properties:
        conversation_id:
          type: string
          title: Conversation Id
          description: Conversation id
          example: '1928096185664843776:1989842918455291904'
        type:
          type: string
          title: Type
          description: 'Conversation type: direct or group'
          example: direct
        is_muted:
          type: boolean
          title: Is Muted
          description: Whether the conversation is muted
          example: false
        participants:
          items:
            type: string
          type: array
          title: Participants
          description: Participant user ids
          example:
            - '1928096185664843776'
      type: object
      required:
        - conversation_id
        - type
        - is_muted
        - participants
      title: ConversationV3Model
      description: XChat conversation item
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````