> ## 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



## OpenAPI

````yaml get /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:
    get:
      tags:
        - contacts
      summary: Get all contacts
      operationId: ContactsController_findAll
      parameters:
        - name: listName
          required: true
          in: query
          schema:
            type: string
        - name: tag
          required: true
          in: query
          schema:
            type: string
      responses:
        '200':
          description: List of contacts
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ContactResponseDto'
      security:
        - apiKey: []
components:
  schemas:
    ContactResponseDto:
      type: object
      properties:
        id:
          type: number
          description: Contact ID
        userId:
          type: number
          description: User ID
        listName:
          type: string
          description: List name for the contact
        tag:
          type: string
          description: Tag for the contact
        firstName:
          type: string
          description: First name of the contact
        lastName:
          type: string
          description: Last name of the contact
        email:
          type: string
          description: Email of the contact
        phone:
          type: string
          description: Phone number of the contact
        dateOfBirth:
          type: string
          description: Date of birth of the contact
        contactSource:
          type: string
          description: Source of the contact
        clearTalkNotes:
          type: string
          description: Notes for the contact
        customField:
          type: object
          description: Custom fields for the contact
        createdAt:
          format: date-time
          type: string
          description: Creation date
        updatedAt:
          format: date-time
          type: string
          description: Last update date
      required:
        - id
        - userId
        - listName
        - tag
        - firstName
        - lastName
        - email
        - phone
        - dateOfBirth
        - contactSource
        - clearTalkNotes
        - customField
        - createdAt
        - updatedAt
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````