Anunzi IA Documentation
Ir a Anunzi IAAyuda al Cliente
  • Anunzi AI Calls API Documentation
    • Getting Started
    • 🔑Authentication & Security
  • Postman Collections
  • Postman Documentation
  • Assistants
    • 👨‍💼Assistants
      • 🔵Create Assistant
      • 🟣Update Assistant
      • 🟢Get Assistant
      • 🟢List Assistants
      • 🔴Delete Assistant
  • Calls
    • 📳Calls
      • 🔵Make Calls
      • 🔵Make SIP Trunk Call
      • 🟢List Calls
      • 🟢Get Call
      • Webhooks
      • Custom Variables
      • Dynamic Prompt Injection
      • Time Zones
  • Actions
    • 🪄Actions
      • 🔵Create Action
      • 🔵Initialize Custom Action
      • 🟣Update Action
      • 🔴Delete Action
      • 🟢Get Action
      • 🟢List Actions
      • 🔵Attach Action
      • 🔵Detach Action
  • Knowledge Bases
    • 📑Knowledge Bases
      • 🔵Create Knowledge Base
      • 🟢Get Knowledge Base
      • 🟣Update Knowledge Base
      • 🔴Delete Knowledge Base
      • 🔵Attach Knowledge Base
      • 🔵Detach Knowledge Base
  • Plataforma IA Generativa
    • Introducción a Anunzi IA
      • Cambiar el tema y el idioma
  • 📖TEXTO
    • Centro de Herramientas
    • Cómo crear una herramienta
    • Creador de Artículos
    • Cómo usar el Re-escritor
  • 🙋ASISTENTES
    • Crear categorías de chat
    • Crear Plantilla de Chat
    • Entrenamiento de chatbots
    • Cómo usar Asistentes IA
      • Usar comandos de voz
  • 🎨IMAGENES
    • Cómo usar el Creador de Imágenes
  • 🎶AUDIO
    • Pasar archivos de voz a texto (desgrabar)
    • Creador de Voz
    • Clonador de voz
  • Otras Funcionalidades
    • Programa de Afiliados
    • Equipos de trabajo
      • Administrar permisos del equipo
    • Cómo crear una Marca
  • Problemas Comunes
    • No funciona el enlace de confirmación
  • Actualizaciones
    • Novedades de la versión 7.4.2
Con tecnología de GitBook
En esta página

¿Te fue útil?

  1. Calls
  2. Calls

List Calls

GET https://api.anunzi.net/v2/calls

Retrieve a paginated list of phone calls handled by an AI assistant. ⚠️ Important: The model_id parameter is mandatory to ensure that only calls associated with a specific assistant are retrieved.


Query Parameters

Parameter
Type
Required
Description

model_id

string

Yes

The calls for the specified assistant model ID will be returned.

limit

int32

No

Number of calls displayed per page (default: 20).

offset

string

No

Starting point for listing calls (default: 0).


Example Request (cURL)

curl --request GET \
     --url 'https://api.anunzi.net/v2/calls?model_id=13213212213s121515156' \
     --header 'accept: text/plain' \
     --header 'Authorization: Bearer API_KEY'

Example Response (200 OK)

{
  "status": "ok",
  "response": {
    "calls": [
      {
        "call_id": "1726573895974x902342426476519400",
        "model_id": "1726573550709x928456706859452600",
        "campaign_type": "Test",
        "phone_number_from": "+10987654321",
        "phone_number_to": "+12345678910",
        "name": "test",
        "transcript": "\nbot: Hey there Jorge\nhuman: Hello.\nbot: \"Hi, Eddie! \nbot: How are you today?\" \nhuman: Doing well. And you?\nbot: \"Great to hear! \nbot: I'm Nina from FineTuner. \"",
        "duration": 13,
        "recording_url": "https://api.twilio.com/2009-10-10/Accounts/ZGH020s34b80d81c432946r34f3c99941bf/Recordings/RE9ee05467410311202811f06205227138",
        "end_call_reason": "human_pick_up_cut_off"
      },
      {
        "call_id": "1726573595193x148017636249698300",
        "model_id": "1726573550572x928481606859452600",
        "campaign_type": "Test",
        "phone_number_from": "+10987654321",
        "phone_number_to": "+12345678910",
        "name": "test",
        "transcript": "\nbot: Hey there\nhuman: Hello.\nbot: Hi, Eddie! \nbot: How are you today? \nhuman: Good. And you?\nbot: Great to hear!",
        "duration": 11,
        "recording_url": "https://api.twilio.com/2009-10-10/Accounts/ZGH0293d4b80d81cf5g946r34f3c99941bf/Recordings/RE9ee05467410311202811f06205227138",
        "end_call_reason": "human_pick_up_cut_off"
      }
    ]
  }
}

Response Fields

Field
Type
Description

call_id

string

Unique identifier for the call.

model_id

string

ID of the assistant handling the call.

campaign_type

string

Type of call (e.g., "Inbound", "Outbound", "Test").

phone_number_from

string

The caller's phone number.

phone_number_to

string

The number that was dialed.

name

string

Name of the person called (if available).

transcript

string

The full conversation transcript between the assistant and the user.

duration

int

Duration of the call in seconds.

recording_url

string

URL to access the audio recording of the call (if recording was enabled).

end_call_reason

string

Reason why the call ended.


Status Codes

Code
Description

200

Calls retrieved successfully.

400

Bad Request. Missing model_id or other parameters.

AnteriorMake SIP Trunk CallSiguienteGet Call

Última actualización hace 3 meses

¿Te fue útil?

📳
🟢