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

# Uses an LLM to extract caller names from call summaries or transcripts

> Uses an LLM to extract caller names from call summaries or transcripts. Processes up to 50 calls in a single batch.



## OpenAPI

````yaml /api-reference/openapi.json post /api/extract-names
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/extract-names:
    post:
      tags:
        - Utilities
      summary: Uses an LLM to extract caller names from call summaries or transcripts
      description: >-
        Uses an LLM to extract caller names from call summaries or transcripts.
        Processes up to 50 calls in a single batch.
      operationId: post-extract-names
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - calls
              properties:
                calls:
                  type: array
                  items:
                    type: object
                  description: Array of call objects with call_id and summary/transcript.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
              example:
                - call_id: ...
                  extracted_name: Maria Rodriguez
        '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

- [Uses an LLM to generate a personalized follow-up call objective based on the lead's history and prior call transcripts](/api-reference/leads/uses-an-llm-to-generate-a-personalized-follow-up-call-objective-based-on-the-leads-history-and-prior-call-transcripts.md)
- [Scans call logs for a firm, uses AI to extract lead information (name, phone, email, case type), deduplicates, and creates Supabase lead records](/api-reference/leads/scans-call-logs-for-a-firm-uses-ai-to-extract-lead-information-name-phone-email-case-type-deduplicates-and-creates-supabase-lead-records.md)
- [Universal webhook handler for all firms](/api-reference/webhooks/universal-webhook-handler-for-all-firms.md)
- [What is Lawtte Studio?](/studio/overview.md)
- [Fetches the full agent configuration including its LLM prompt and begin message](/api-reference/agent-config/fetches-the-full-agent-configuration-including-its-llm-prompt-and-begin-message.md)
