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

# Toggle Call Recording



## OpenAPI

````yaml /openapi.json post /v1/calls/{id}/record
openapi: 3.0.3
info:
  title: Callvrse Telephony Gateway API
  description: >-
    Unified programmable voice gateway API for calls, carriers, DIDs, agent
    sessions, and routing.
  version: 1.0.0
servers:
  - url: http://127.0.0.1:8080
    description: Local development
security: []
paths:
  /v1/calls/{id}/record:
    post:
      tags:
        - Calls
      summary: Toggle Call Recording
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                record:
                  type: boolean
                  default: true
      responses:
        '200':
          description: Recording status updated
        '404':
          description: Call not found
        '409':
          description: Call is not active
      security:
        - BearerAuth: []
        - CookieAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Enter your Tenant API key (or use SANDBOX_API_KEY)
    CookieAuth:
      type: apiKey
      in: cookie
      name: callvrse_session
      description: HttpOnly session cookie issued on login

````