> ## Documentation Index
> Fetch the complete documentation index at: https://developer.watson-orchestrate.ibm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Receive CDR webhook



## OpenAPI

````yaml post /cdr-webhook
openapi: 3.1.0
info:
  title: Voice Runtime Proxy & Recording API
  description: >-
    API for voice runtime WebSocket proxying, call recordings, CDR ingestion,
    and static UI serving.
  version: 1.0.0
servers:
  - url: http://localhost:9511/
security: []
tags:
  - name: Voice Runtime
  - name: Recordings
  - name: CDR
  - name: Static
paths:
  /cdr-webhook:
    post:
      tags:
        - CDR
      summary: Receive CDR webhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CdrWebhookRequest'
      responses:
        '200':
          description: Webhook processed
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  id:
                    type: string
components:
  schemas:
    CdrWebhookRequest:
      type: object
      properties:
        cdr:
          $ref: '#/components/schemas/CdrReport'
        message:
          type: string
    CdrReport:
      type: object
      properties:
        transaction_id:
          type: string
        thread_id:
          type: string
        agent_id:
          type: string
        environment_id:
          type: string
        call:
          type: object
          properties:
            start_timestamp:
              type: string
              format: date-time
            end_reason:
              type: string
            milliseconds_elapsed:
              type: integer
        turns:
          type: array
          items:
            type: object
        failure_occurred:
          type: boolean
        system_error:
          type: boolean

````