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

# Get all contacts with optional filters, pagination, and search



## OpenAPI

````yaml get /contacts/all-contacts
openapi: 3.0.0
info:
  title: ClearTalk API
  description: The ClearTalk API Documentation
  version: '1.0'
  contact:
    name: Developer Support
    email: devsupport@cleartalk.ai
servers:
  - url: https://api.cleartalk.ai
    description: ClearTalk AI API Server
security: []
tags: []
paths:
  /contacts/all-contacts:
    get:
      tags:
        - contacts
      summary: Get all contacts with optional filters, pagination, and search
      operationId: ContactsController_getContacts
      parameters:
        - name: list_name
          required: false
          in: query
          description: List name to filter contacts
          schema:
            type: string
        - name: draw
          required: false
          in: query
          description: Draw counter for DataTables
          schema:
            type: string
        - name: start
          required: false
          in: query
          description: Start index for pagination
          schema:
            type: string
        - name: length
          required: false
          in: query
          description: Number of items to retrieve
          schema:
            type: string
        - name: columns
          required: false
          in: query
          description: Columns definition from DataTables
          schema:
            type: array
            items:
              $ref: '#/components/schemas/ColumnDto'
        - name: order
          required: false
          in: query
          description: Ordering criteria from DataTables
          schema:
            type: array
            items:
              $ref: '#/components/schemas/OrderDto'
        - name: search
          required: false
          in: query
          description: Search value from DataTables
          schema:
            $ref: '#/components/schemas/SearchDto'
        - name: tag
          required: false
          in: query
          description: Tag to filter contacts
          schema:
            type: string
      responses:
        '200':
          description: ''
      security:
        - apiKey: []
components:
  schemas:
    ColumnDto:
      type: object
      properties:
        data:
          type: string
          description: Column data key
    OrderDto:
      type: object
      properties:
        column:
          description: Index of the column to order by
          type: array
          items:
            type: string
        dir:
          description: Direction of ordering (asc or desc)
          type: array
          items:
            type: string
    SearchDto:
      type: object
      properties:
        value:
          type: string
          description: Search value for filtering contacts
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````