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

# Initiates an outbound phone call from an AI agent to a specified phone number

> Initiates an outbound phone call from an AI agent to a specified phone number. Validates the agent, creates the call, and logs it to Supabase.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v2/create-outbound-call
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/v2/create-outbound-call:
    post:
      tags:
        - Voice & Chat
      summary: >-
        Initiates an outbound phone call from an AI agent to a specified phone
        number
      description: >-
        Initiates an outbound phone call from an AI agent to a specified phone
        number. Validates the agent, creates the call, and logs it to Supabase.
      operationId: post-create-outbound-call
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - toNumber
                - agentId
                - firmSlug
              properties:
                toNumber:
                  type: string
                  description: E.164 formatted phone number to call (e.g. +12125550100).
                agentId:
                  type: string
                  description: Agent ID to use for the call.
                firmSlug:
                  type: string
                  description: Firm identifier (e.g. brackman-law).
                dynamicVariables:
                  type: object
                  description: >-
                    Variables injected into the agent's prompt (e.g. first_name,
                    case_type).
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
              example:
                call_id: call_def456
                status: registered
        '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

- [The Lawtte MCP server](/mcp/overview.md)
- [How to build an AI receptionist and intake system](/guides/build-an-ai-receptionist.md)
- [Her phone number](/studio/phone-number.md)
- [Limits and safety](/mcp/limits-and-safety.md)
- [Connector tools](/mcp/tools.md)
