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

# Listar conversas

> Retorna lista paginada de conversas.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/conversations
openapi: 3.1.0
info:
  title: Timely.ai API
  description: >-
    API REST do Timely.ai para automação de atendimento com IA. Gerencie
    agentes, conversas, contatos e integrações.
  version: 1.0.0
  contact:
    name: Timely.ai
    email: contato@timelyai.com.br
    url: https://timelyai.com.br
servers:
  - url: https://api.timelyai.com.br
    description: Produção
security:
  - ApiKeyAuth: []
tags:
  - name: System
    description: Health check e introspecção da API key
  - name: Agents
    description: Agentes IA — criação, configuração e gerenciamento
  - name: Trainings
    description: Base de conhecimento dos agentes
  - name: Channels
    description: Canais de comunicação (WhatsApp, Telegram, Email, Website)
  - name: Contacts
    description: Cadastro de clientes
  - name: Conversations
    description: Histórico de conversas e mensagens
  - name: Custom Fields
    description: Campos personalizados do CRM
  - name: Chats
    description: Operações em chats ativos e handoff humano
  - name: Messages
    description: Mensagens individuais
  - name: MCP
    description: Model Context Protocol — servidores e ferramentas
  - name: Webhooks
    description: Webhooks outbound para eventos em tempo real
paths:
  /v1/conversations:
    get:
      tags:
        - Conversations
      summary: Listar conversas
      description: Retorna lista paginada de conversas.
      operationId: listConversations
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Order'
        - $ref: '#/components/parameters/Search'
        - name: channel
          in: query
          schema:
            type: string
        - name: status
          in: query
          schema:
            type: string
            enum:
              - open
              - closed
              - pending
      responses:
        '200':
          description: Lista de conversas
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Conversation'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    Page:
      name: page
      in: query
      description: Número da página
      schema:
        type: integer
        minimum: 1
        default: 1
    Limit:
      name: limit
      in: query
      description: Itens por página
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
    Order:
      name: order
      in: query
      description: Direção da ordenação
      schema:
        type: string
        enum:
          - asc
          - desc
        default: desc
    Search:
      name: search
      in: query
      description: Termo de busca
      schema:
        type: string
  schemas:
    Conversation:
      type: object
      properties:
        id:
          type: string
          format: uuid
        channel:
          type: string
        channel_id:
          type: string
          format: uuid
        contact_id:
          type: string
          format: uuid
        agent_id:
          type: string
          format: uuid
        customer_name:
          type: string
        status:
          type: string
          enum:
            - open
            - closed
            - pending
        ai_mode:
          type: string
          enum:
            - auto
            - paused
        last_message_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
    Pagination:
      type: object
      properties:
        page:
          type: integer
        limit:
          type: integer
        total:
          type: integer
        total_pages:
          type: integer
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            status:
              type: integer
  responses:
    Unauthorized:
      description: API key inválida ou ausente
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Chave de API obtida no dashboard

````