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

# List Conversations

> Returns a paginated list of conversations with optional filtering capabilities



## OpenAPI

````yaml GET /public-api/conversations
openapi: 3.0.0
info:
  title: Agents Public API
  version: '1.0'
  description: REST API for managing contacts, campaigns, and conversations
  termsOfService: https://agents.nineteen58.co.za/terms
  contact:
    name: API Support
    url: https://agents.nineteen58.co.za/support
    email: support@nineteen58.co.za
servers:
  - url: https://agents.nineteen58.co.za
    description: Production server
security:
  - apiKeyAuth: []
tags: []
paths:
  /public-api/conversations:
    get:
      tags:
        - Conversations
      summary: Retrieve a paginated list of conversations
      description: >-
        Returns a paginated list of conversations with optional filtering
        capabilities
      operationId: getpublicapiconversations
      parameters:
        - in: query
          name: page
          schema:
            type: integer
            minimum: 1
            default: 1
          description: Page number for pagination
        - in: query
          name: pageSize
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 10
          description: Number of items per page
        - in: query
          name: contactId
          schema:
            type: string
            format: uuid
          description: Filter conversations by contact ID
        - in: query
          name: agentId
          schema:
            type: string
            format: uuid
          description: Filter conversations by agent ID
        - in: query
          name: identifier
          schema:
            type: string
          description: Filter conversations by contact identifier
      responses:
        '200':
          description: Successfully retrieved conversations
          content:
            application/json:
              schema:
                type: object
                properties:
                  conversations:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        contacts:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            identifier:
                              type: string
                        agent_id:
                          type: string
                          format: uuid
                        conversation:
                          type: object
                  totalCount:
                    type: integer
                  currentPage:
                    type: integer
                  pageSize:
                    type: integer
                  totalPages:
                    type: integer
        '401':
          description: Unauthorized - Invalid or missing API key
        '500':
          description: Internal server error
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````