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

# Вземане на повикване

> Извличане на детайли за конкретно повикване по ID

Този endpoint ви позволява да извлечете подробна информация за конкретно повикване, принадлежащо на автентикирания потребител.

### Path параметри

<ParamField path="id" type="integer" required>
  Уникалният идентификатор на повикването
</ParamField>

### Response полета

<ResponseField name="id" type="integer">
  Уникалният идентификатор на повикването
</ResponseField>

<ResponseField name="assistant_name" type="string">
  Името на асистента, който обработи повикването
</ResponseField>

<ResponseField name="campaign_name" type="string">
  Името на кампанията, към която принадлежи това повикване (ако е приложимо)
</ResponseField>

<ResponseField name="type" type="string">
  Типът на повикването (`inbound`, `outbound`, или `web`)
</ResponseField>

<ResponseField name="duration" type="integer">
  Продължителността на повикването в секунди
</ResponseField>

<ResponseField name="assistant_phone_number" type="string">
  Телефонният номер, използван от асистента
</ResponseField>

<ResponseField name="client_phone_number" type="string">
  Телефонният номер на клиента
</ResponseField>

<ResponseField name="status" type="string">
  Текущото състояние на повикването
</ResponseField>

<ResponseField name="transcript" type="string">
  Транскрипцията на разговора при повикването
</ResponseField>

<ResponseField name="variables" type="object">
  Променливи, събрани по време на повикването
</ResponseField>

<ResponseField name="evaluation" type="object">
  Данни за оценка на производителността на повикването
</ResponseField>

<ResponseField name="webhook_response" type="object">
  Отговор от конфигурирани webhooks
</ResponseField>

<ResponseField name="carrier_cost" type="number">
  Разходът, таксуван от оператора за това повикване
</ResponseField>

<ResponseField name="total_cost" type="number">
  Общият разход на повикването, включвайки всички такси
</ResponseField>

<ResponseField name="answered_by" type="string">
  Кой отговори на повикването (`human`, `machine`, или `unknown`)
</ResponseField>

<ResponseField name="recording_url" type="string">
  URL към записа на повикването (ако е наличен и активиран)
</ResponseField>

<ResponseField name="created_at" type="string">
  Датата и времето, когато повикването беше създадено
</ResponseField>

<ResponseField name="updated_at" type="string">
  Датата и времето, когато повикването беше последно актуализирано
</ResponseField>

<ResponseExample>
  ```json 200 Response theme={null}
  {
    "id": 123,
    "assistant_name": "Sales Assistant",
    "campaign_name": "Q4 Outreach Campaign",
    "type": "outbound",
    "duration": 245,
    "assistant_phone_number": "+1234567890",
    "client_phone_number": "+1987654321",
    "status": "completed",
    "transcript": "Hello, this is Sarah from Aiplocalls. How are you doing today?...",
    "variables": {
      "customer_name": "John Smith",
      "interest_level": "high",
      "follow_up_date": "2025-08-15"
    },
    "evaluation": {
      "sentiment": "positive",
      "outcome": "qualified_lead",
      "score": 8.5
    },
    "webhook_response": {
      "status": "success",
      "data": {
        "crm_contact_id": "abc123"
      }
    },
    "carrier_cost": 0.02,
    "total_cost": 0.025,
    "answered_by": "human",
    "recording_url": "https://call.aiployees.com/recordings/calls/123.mp3",
    "created_at": "2025-08-04 14:30:00",
    "updated_at": "2025-08-04 14:34:05"
  }
  ```

  ```json 404 Response theme={null}
  {
    "message": "Call not found"
  }
  ```
</ResponseExample>

***
