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

# Create Call



## OpenAPI

````yaml api-reference/openapi.json post /calls
openapi: 3.1.0
info:
  title: Kathan API
  description: Building a fundamentally new kind of world for Conversational AI.
  version: 2.0.1
servers:
  - url: https://api.staging.kathan.tech
    description: Staging
security: []
tags:
  - name: Assistants
    description: Create and manage AI voice agents. Configure voice, LLM, knowledge bases.
  - name: Phone Numbers
    description: Configure and attach phone numbers to assistants. Twilio & Vobiz.
  - name: Calls
    description: Call logs, recordings, and outbound call management.
  - name: Knowledge Bases
    description: Upload documents, create knowledge bases, attach to assistants.
  - name: Campaigns
    description: Create and run outbound campaigns. Attach recipient lists, start/pause.
  - name: Recipient Lists
    description: Contact lists for campaigns. Create from CSV, manage recipients.
  - name: Chat
    description: Text chat with assistants. Create sessions, send messages.
  - name: API Keys
    description: Create and manage API keys for authentication.
  - name: Organizations
    description: Organization and team management. Invites, members.
  - name: Credits
    description: Usage credits and billing.
  - name: Users
    description: User profile and account management.
paths:
  /calls:
    post:
      tags:
        - Calls
        - Calls
      summary: Create Call
      operationId: create_call_calls_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallCreateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallPublic'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
          XUserId: []
components:
  schemas:
    CallCreateRequest:
      properties:
        phone_number_id:
          type: string
          title: Phone Number Id
          description: The phone_number_id to place the call from
        to_number:
          type: string
          title: To Number
          description: Destination number in E.164 format
        assistant_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Assistant Id
          description: 'Optional: force an assistant for this call'
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
          description: Optional label for tracking
      type: object
      required:
        - phone_number_id
        - to_number
      title: CallCreateRequest
    CallPublic:
      properties:
        id:
          type: string
          title: Id
        phone_number_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone Number Id
        assistant_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Assistant Id
        to_number:
          type: string
          title: To Number
        from_number:
          anyOf:
            - type: string
            - type: 'null'
          title: From Number
        provider:
          type: string
          title: Provider
        provider_call_sid:
          anyOf:
            - type: string
            - type: 'null'
          title: Provider Call Sid
        direction:
          anyOf:
            - type: string
            - type: 'null'
          title: Direction
        status:
          type: string
          title: Status
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
        ended_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Ended At
        ended_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Ended Reason
        duration_seconds:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Seconds
        timestamp:
          anyOf:
            - type: string
            - type: 'null'
          title: Timestamp
        summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Summary
        user_messages:
          anyOf:
            - type: integer
            - type: 'null'
          title: User Messages
        agent_messages:
          anyOf:
            - type: integer
            - type: 'null'
          title: Agent Messages
        recording_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Recording Url
        stereo_recording_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Stereo Recording Url
        recording_mp3_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Recording Mp3 Url
        stereo_recording_mp3_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Stereo Recording Mp3 Url
        latency_metrics:
          anyOf:
            - type: object
            - type: 'null'
          title: Latency Metrics
        per_turn_latency:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Per Turn Latency
        cost:
          anyOf:
            - type: number
            - type: 'null'
          title: Cost
        total_credits:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Credits
        cost_breakdown:
          anyOf:
            - type: object
            - type: 'null'
          title: Cost Breakdown
        costs:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Costs
      type: object
      required:
        - id
        - to_number
        - provider
        - status
      title: CallPublic
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key authentication.
    XUserId:
      type: apiKey
      in: header
      name: X-User-ID
      description: Required user id for API key requests.

````