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

# Update call by ID

> Updates a call by ID (current behavior).

## Notes

* Despite being `PUT`, docs say “partial updates only”; so semantics are PATCH‑like.


## OpenAPI

````yaml put /api/calls/{callId}
openapi: 3.0.3
info:
  title: Zudu API
  description: >-
    Comprehensive REST API for LiveKit Backend - Call Management, Agent
    Configuration, and Real-time Communication Services
  version: 1.0.0
  contact:
    name: Zudu AI Team
    url: https://zudu.ai
    email: support@zudu.ai
  license:
    name: Proprietary
    url: https://zudu.ai/license
servers:
  - url: https://api.zudu.ai
    description: Production (Customer-facing)
security:
  - apiKey: []
    apiSecret: []
tags:
  - name: Agent Management
    description: Create and manage AI agents
  - name: Call Data Management
    description: Call records and history
  - name: Customer API Keys
    description: Manage API keys
  - name: Post-Call Webhooks
    description: Webhook configuration
  - name: phone-number-controller
    description: Phone numbers
  - name: batch-call-controller
    description: Batch calls
  - name: MCP Server Management
    description: MCP servers
  - name: Knowledge Base Management
    description: Knowledge bases
  - name: Call Analysis
    description: Call analysis
paths:
  /api/calls/{callId}:
    put:
      tags:
        - Call Data Management
      operationId: updateCall
      parameters:
        - name: callId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              description: Call update request body
              properties:
                call_status:
                  type: string
                  description: Call status
                direction:
                  type: string
                  description: Call direction
                from_number:
                  type: string
                  description: Source phone number
                metadata:
                  type: object
                  description: Metadata updates (merged)
            example:
              call_status: ONGOING
              direction: OUTBOUND
              from_number: '+1111111111'
              metadata:
                updated_field: new_value
        required: true
      responses:
        '200':
          description: Call updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
              example:
                message: Call updated successfully
                status: success
                error: null
                data:
                  operation: update
                  organization_id: org-789
                  call:
                    id: 550e8400-e29b-41d4-a716-446655440000
                    agent_id: agent-123
                    call_id: call-456
                    organization_id: org-789
                    call_status: ongoing
                    call_type: phone_call
                    direction: outbound
                    from_number: '+1111111111'
                    transcript_object: []
                    transcript_with_tool_calls: []
                    events: []
                    metadata:
                      test: true
                      priority: high
                      updated_field: new_value
                    opt_out_sensitive_data_storage: false
components:
  schemas:
    ApiResponse:
      type: object
      properties:
        message:
          type: string
        status:
          type: string
        error:
          type: string
        data:
          type: object
  securitySchemes:
    apiKey:
      type: apiKey
      description: API Key for MCP server and external service authentication
      name: X-API-KEY
      in: header
    apiSecret:
      type: apiKey
      description: API Secret for MCP server and external service authentication
      name: X-API-SECRET
      in: header

````