GET
/
api
/
user
/
calls
GET /user/calls
{
  "data": [
    {
      "id": 123456,
      "assistant_name": "Sales Assistant",
      "campaign_name": "Neukundenakquise Q1 2024",
      "type": "outbound",
      "duration": 180,
      "assistant_phone_number": "+4912345678",
      "client_phone_number": "+4915123456789",
      "status": "completed",
      "transcript": [
        {
          "text": "Hallo, mein Name ist Maximilian, ich melde mich im Auftrag eines IT-Unternehmens.",
          "type": "transcript",
          "sender": "bot",
          "timestamp": 1754055268.525861
        },
        {
          "text": "Hallo?",
          "type": "transcript",
          "sender": "human",
          "timestamp": 1754055272.069057
        }
      ],
      "variables": {
        "customer_name": "John"
      },
      "evaluation": [
        {
          "name": "status",
          "type": "bool",
          "value": true,
          "description": "Whether the call objective was achieved or not."
        },
        {
          "name": "summary",
          "type": "string",
          "value": "Connected to the customer, obtained name of the person responsible for IT.",
          "description": "Call summary in a few words."
        }
      ],
      "webhook_response": {
        "crm_updated": true,
        "lead_score": 75
      },
      "carrier_cost": 0.08,
      "total_cost": 0.12,
      "answered_by": "human",
      "recording_url": "https://recordings.famulor.de/call-123456.mp3",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-15T10:33:00Z"
    },
    {
      "id": 123457,
      "assistant_name": "Support Assistant",
      "campaign_name": null,
      "type": "inbound",
      "duration": 120,
      "assistant_phone_number": "+4912345678",
      "client_phone_number": "+4917123456789",
      "status": "ended_by_customer",
      "transcript": [
        {
          "text": "Kunde: Hallo, ich habe eine Frage zu meinem Konto.",
          "type": "transcript",
          "sender": "human",
          "timestamp": 1754055300.123456
        },
        {
          "text": "Gerne helfe ich Ihnen dabei. Was kann ich für Sie tun?",
          "type": "transcript",
          "sender": "bot",
          "timestamp": 1754055302.789012
        }
      ],
      "variables": {
        "issue_resolved": true,
        "satisfaction_rating": 9
      },
      "evaluation": [
        {
          "name": "issue_resolved",
          "type": "bool",
          "value": true,
          "description": "Whether the customer's issue was resolved."
        },
        {
          "name": "satisfaction_rating",
          "type": "integer",
          "value": 9,
          "description": "Customer satisfaction rating from 1-10."
        }
      ],
      "webhook_response": null,
      "carrier_cost": 0.05,
      "total_cost": 0.08,
      "answered_by": "human",
      "recording_url": null,
      "created_at": "2024-01-15T14:20:00Z",
      "updated_at": "2024-01-15T14:22:00Z"
    }
  ],
  "current_page": 1,
  "per_page": 15,
  "total": 2,
  "last_page": 1
}
Dieser Endpunkt ermöglicht es Ihnen, alle Anrufe aufzulisten, die dem authentifizierten Benutzer gehören, mit verschiedenen Filteroptionen.

Query-Parameter

status
string
Anrufe nach Status filtern. Mögliche Werte: initiated, ringing, busy, in-progress, ended, completed, ended_by_customer, ended_by_assistant, no-answer, failed
type
string
Anrufe nach Typ filtern. Mögliche Werte: inbound, outbound, web
phone_number
string
Anrufe nach Kunden-Telefonnummer filtern
assistant_id
integer
Anrufe nach Assistenten-ID filtern
campaign_id
integer
Anrufe nach Kampagnen-ID filtern
date_from
string
Anrufe ab diesem Datum filtern (YYYY-MM-DD Format)
date_to
string
Anrufe bis zu diesem Datum filtern (YYYY-MM-DD Format)
per_page
integer
Anzahl der Anrufe pro Seite (1-100, Standard: 15)
page
integer
Seitennummer (Standard: 1)

Antwort-Felder

data
array
Array der Anrufe
current_page
integer
Die aktuelle Seitennummer
per_page
integer
Anzahl der Elemente pro Seite
total
integer
Gesamtanzahl der Anrufe, die den Kriterien entsprechen
last_page
integer
Die letzte Seitennummer
GET /user/calls
{
  "data": [
    {
      "id": 123456,
      "assistant_name": "Sales Assistant",
      "campaign_name": "Neukundenakquise Q1 2024",
      "type": "outbound",
      "duration": 180,
      "assistant_phone_number": "+4912345678",
      "client_phone_number": "+4915123456789",
      "status": "completed",
      "transcript": [
        {
          "text": "Hallo, mein Name ist Maximilian, ich melde mich im Auftrag eines IT-Unternehmens.",
          "type": "transcript",
          "sender": "bot",
          "timestamp": 1754055268.525861
        },
        {
          "text": "Hallo?",
          "type": "transcript",
          "sender": "human",
          "timestamp": 1754055272.069057
        }
      ],
      "variables": {
        "customer_name": "John"
      },
      "evaluation": [
        {
          "name": "status",
          "type": "bool",
          "value": true,
          "description": "Whether the call objective was achieved or not."
        },
        {
          "name": "summary",
          "type": "string",
          "value": "Connected to the customer, obtained name of the person responsible for IT.",
          "description": "Call summary in a few words."
        }
      ],
      "webhook_response": {
        "crm_updated": true,
        "lead_score": 75
      },
      "carrier_cost": 0.08,
      "total_cost": 0.12,
      "answered_by": "human",
      "recording_url": "https://recordings.famulor.de/call-123456.mp3",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-15T10:33:00Z"
    },
    {
      "id": 123457,
      "assistant_name": "Support Assistant",
      "campaign_name": null,
      "type": "inbound",
      "duration": 120,
      "assistant_phone_number": "+4912345678",
      "client_phone_number": "+4917123456789",
      "status": "ended_by_customer",
      "transcript": [
        {
          "text": "Kunde: Hallo, ich habe eine Frage zu meinem Konto.",
          "type": "transcript",
          "sender": "human",
          "timestamp": 1754055300.123456
        },
        {
          "text": "Gerne helfe ich Ihnen dabei. Was kann ich für Sie tun?",
          "type": "transcript",
          "sender": "bot",
          "timestamp": 1754055302.789012
        }
      ],
      "variables": {
        "issue_resolved": true,
        "satisfaction_rating": 9
      },
      "evaluation": [
        {
          "name": "issue_resolved",
          "type": "bool",
          "value": true,
          "description": "Whether the customer's issue was resolved."
        },
        {
          "name": "satisfaction_rating",
          "type": "integer",
          "value": 9,
          "description": "Customer satisfaction rating from 1-10."
        }
      ],
      "webhook_response": null,
      "carrier_cost": 0.05,
      "total_cost": 0.08,
      "answered_by": "human",
      "recording_url": null,
      "created_at": "2024-01-15T14:20:00Z",
      "updated_at": "2024-01-15T14:22:00Z"
    }
  ],
  "current_page": 1,
  "per_page": 15,
  "total": 2,
  "last_page": 1
}