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

# Search contacts by name or email



## OpenAPI

````yaml /openapi/crm.yaml get /contacts/search
openapi: 3.1.0
info:
  title: Connie CRM API
  version: 1.0.0
  description: >
    API for contacts, companies, records, tasks, reminders, notes, activity
    feeds, and data enrichment. All endpoints require authentication.
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Contacts
    description: Contact management and lookup
  - name: Contact Notes
    description: Notes on contacts
  - name: Contact Tasks
    description: Tasks linked to contacts
  - name: Contact Reminders
    description: Reminders linked to contacts
  - name: Companies
    description: Company management
  - name: Company Notes
    description: Notes on companies
  - name: Company Tasks
    description: Tasks linked to companies
  - name: CRM Utilities
    description: CRM setup, enrichment triggers, and table IDs
  - name: Records
    description: Generic record management across CRM sources
  - name: Enrichment
    description: Data enrichment tools and jobs
  - name: Reminders
    description: Standalone and entity-linked reminders
  - name: Tasks
    description: Task comments and activity feeds
paths:
  /contacts/search:
    get:
      tags:
        - Contacts
      summary: Search contacts by name or email
      operationId: searchContacts
      parameters:
        - name: workspaceId
          in: query
          required: true
          schema:
            type: string
            format: uuid
        - name: q
          in: query
          required: true
          schema:
            type: string
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 10
      responses:
        '200':
          description: Search results
          content:
            application/json:
              schema:
                type: object
                properties:
                  contacts:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        display_name:
                          type: string
                          nullable: true
                        email:
                          type: string
                          nullable: true
components:
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.