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

# Lists all leads for a firm

> Lists all leads for a firm. Supports filtering by status.



## OpenAPI

````yaml /api-reference/openapi.json get /api/leads
openapi: 3.1.0
info:
  title: Lawtte API
  version: v2
  description: >-
    REST API behind the Lawtte dashboard: AI voice and chat calls, agent
    configuration, leads, campaigns, contacts, and automation workflows.
  contact:
    name: Lawtte support
    email: contact@lawtte.ai
    url: https://www.lawtte.ai
servers:
  - url: https://www.lawtte.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Voice & Chat
    description: Manage AI voice calls and chat sessions powered by Donna AI.
  - name: Agent Config
    description: Read and update AI agent prompts, voices, and configurations.
  - name: Appointments
    description: Check availability and book appointments via Cal.com integration.
  - name: Webhooks
    description: Receive real-time events after calls end.
  - name: Leads
    description: Create, manage, and analyze leads captured by your AI agents.
  - name: Campaigns
    description: Create and launch outbound call campaigns to lists of leads.
  - name: Contacts
    description: >-
      Import and sync contacts from CSV, OpenPhone, RingCentral, and practice
      management systems.
  - name: Workflows
    description: >-
      Build and manage automation workflows using a visual node-based flow
      editor.
  - name: Utilities
    description: Helper endpoints for AI-powered data extraction and widget testing.
paths:
  /api/leads:
    get:
      tags:
        - Leads
      summary: Lists all leads for a firm
      description: Lists all leads for a firm. Supports filtering by status.
      operationId: get-leads
      parameters:
        - name: firmSlug
          in: query
          required: true
          description: Firm identifier.
          schema:
            type: string
        - name: status
          in: query
          required: false
          description: Filter by lead status (new, contacted, converted, etc.).
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
              example:
                - id: ...
                  name: Jane Doe
                  phone: +1...
                  status: new
                  created_at: ...
        '401':
          description: Missing or invalid credentials
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Lawtte API key or session token: `Authorization: Bearer <token>`.'

````

## Related topics

- [Lists all campaigns for a firm](/api-reference/campaigns/lists-all-campaigns-for-a-firm.md)
- [Lists all saved workflows for a firm](/api-reference/workflows/lists-all-saved-workflows-for-a-firm.md)
- [Returns a list of all configured agents across firms](/api-reference/agent-config/returns-a-list-of-all-configured-agents-across-firms.md)
- [Returns all call records associated with a lead](/api-reference/leads/returns-all-call-records-associated-with-a-lead.md)
- [Launches a campaign — triggers outbound calls to all leads in the campaign](/api-reference/campaigns/launches-a-campaign-—-triggers-outbound-calls-to-all-leads-in-the-campaign.md)
