GET
/
callouts
/
{id}
/
response
curl --request GET \
     --url https://api.credira.com/v1/callouts/callout_123456789/response \
     --header 'Authorization: Bearer YOUR_API_KEY' \
     --header 'Content-Type: application/json'
{
  "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"
  }
}
Retrieve detailed response data for a specific callout, including call recordings, transcriptions, and other analytics.
This endpoint provides comprehensive response data for a callout, including all communication attempts and their outcomes.

Request

id
string
required
The unique identifier of the callout to retrieve response data for
Authorization
string
required
Bearer token for API authentication
curl --request GET \
     --url https://api.credira.com/v1/callouts/callout_123456789/response \
     --header 'Authorization: Bearer YOUR_API_KEY' \
     --header 'Content-Type: application/json'
{
  "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"
  }
}
{
  "success": false,
  "error": {
    "code": "INVALID_REQUEST",
    "message": "Invalid callout ID format"
  },
  "meta": {
    "timestamp": "2024-01-15T10:30:00Z",
    "request_id": "req_123456789"
  }
}
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API key"
  },
  "meta": {
    "timestamp": "2024-01-15T10:30:00Z",
    "request_id": "req_123456789"
  }
}
{
  "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"
  }
}
{
  "success": false,
  "error": {
    "code": "NOT_FOUND",
    "message": "Callout not found"
  },
  "meta": {
    "timestamp": "2024-01-15T10:30:00Z",
    "request_id": "req_123456789"
  }
}