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

# Get Callout Response

> Retrieve callout response data including recordings and transcriptions

Retrieve detailed response data for a specific callout, including call recordings, transcriptions, and other analytics.

<Note>
  This endpoint provides comprehensive response data for a callout, including
  all communication attempts and their outcomes.
</Note>

## Request

<ParamField path="id" type="string" required>
  The unique identifier of the callout to retrieve response data for
</ParamField>

<ParamField header="Authorization" type="string" required>
  Bearer token for API authentication
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
       --url https://api.credira.com/v1/callouts/callout_123456789/response \
       --header 'Authorization: Bearer YOUR_API_KEY' \
       --header 'Content-Type: application/json'
  ```

  ```typescript TypeScript theme={null}
  const calloutId = "callout_123456789";
  const response = await fetch(
    `https://api.credira.com/v1/callouts/${calloutId}/response`,
    {
      method: "GET",
      headers: {
        Authorization: "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
      },
    }
  );

  const data = await response.json();
  console.log(data);
  ```
</RequestExample>

<ResponseExample status="200" summary="Success">
  ```json theme={null}
  {
    "success": true,
    "data": {
      "callout_id": "callout_123456789",
      "status": "completed",
      "total_attempts": 3,
      "successful_attempts": 2,
      "responses": [
        {
          "attempt_id": "attempt_001",
          "type": "call",
          "status": "completed",
          "timestamp": "2024-01-20T10:00:00Z",
          "duration": 180,
          "call_recording_url": "https://api.credira.com/recordings/callout_123456789_attempt_001.mp3",
          "transcription_url": "https://api.credira.com/transcriptions/callout_123456789_attempt_001.txt",
          "confidence_score": 0.95,
          "sentiment_score": 0.75,
          "keywords": ["payment", "invoice", "overdue"],
          "summary": "Customer acknowledged the invoice and agreed to pay by end of week",
          "voice_agent_id": "agent_456789123"
        },
        {
          "attempt_id": "attempt_002",
          "type": "email",
          "status": "delivered",
          "timestamp": "2024-01-20T11:00:00Z",
          "email_subject": "Payment Reminder - Invoice #INV-001",
          "opened_time": "2024-01-20T11:15:00Z",
          "clicked_time": "2024-01-20T11:20:00Z",
          "template_id": "template_789123456"
        }
      ],
      "analytics": {
        "total_duration": 180,
        "average_confidence": 0.95,
        "sentiment_analysis": "positive",
        "key_topics": ["payment", "invoice", "overdue"],
        "customer_engagement": "high"
      },
      "created_time": "2024-01-19T09:00:00Z",
      "completed_time": "2024-01-20T12:00:00Z"
    },
    "meta": {
      "timestamp": "2024-01-15T10:30:00Z",
      "request_id": "req_123456789"
    }
  }
  ```
</ResponseExample>

<ResponseExample status="400" summary="Bad Request">
  ```json theme={null}
  {
    "success": false,
    "error": {
      "code": "INVALID_REQUEST",
      "message": "Invalid callout ID format"
    },
    "meta": {
      "timestamp": "2024-01-15T10:30:00Z",
      "request_id": "req_123456789"
    }
  }
  ```
</ResponseExample>

<ResponseExample status="401" summary="Unauthorized">
  ```json theme={null}
  {
    "success": false,
    "error": {
      "code": "UNAUTHORIZED",
      "message": "Invalid or missing API key"
    },
    "meta": {
      "timestamp": "2024-01-15T10:30:00Z",
      "request_id": "req_123456789"
    }
  }
  ```
</ResponseExample>

<ResponseExample status="403" summary="Forbidden">
  ```json theme={null}
  {
    "success": false,
    "error": {
      "code": "FORBIDDEN",
      "message": "You don't have permission to access this callout"
    },
    "meta": {
      "timestamp": "2024-01-15T10:30:00Z",
      "request_id": "req_123456789"
    }
  }
  ```
</ResponseExample>

<ResponseExample status="404" summary="Not Found">
  ```json theme={null}
  {
    "success": false,
    "error": {
      "code": "NOT_FOUND",
      "message": "Callout not found"
    },
    "meta": {
      "timestamp": "2024-01-15T10:30:00Z",
      "request_id": "req_123456789"
    }
  }
  ```
</ResponseExample>
