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

Make Calls

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

Initiates a real-time phone call through the AI assistant.


Body Parameters

Parameter
Type
Required
Description

model_id

string

Yes

The Model-ID, which can be obtained from your Anunzi Agent Page.

team_id

string

No

The ID of the team, which can be copied from the team details section.

phone

string

Yes

The phone number that the assistant will call.

name

string

Yes

Name of the person being called.

custom_variables

array of objects

No

Key-value pairs of custom variables dynamically injected into the prompt.

lead_email

string

No

Optional email of the lead for appointment booking.

lead_timezone

string

No

Optional time zone of the lead for appointment booking.

prompt

string

No

A custom prompt that will be used during the call.

greeting

string

No

The greeting message that the assistant will say at the beginning of the call.


Example Request (cURL)

curl --request POST \
     --url https://api.anunzi.net/v2/calls \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'Authorization: Bearer API_KEY' \
     --data '
{
  "model_id": "5151351531x48646416",
  "phone": "+123456456",
  "name": "David"
}
'

Example Response (200 OK)

{
  "status": "success",
  "response": {
    "answer": "ok",
    "call_id": "1691579123700x31589864853004400"
  }
}

Status Codes

Code
Description

200

Call initiated successfully.

400

Bad Request. Invalid or missing parameters.

AnteriorCallsSiguienteMake SIP Trunk Call

Última actualización hace 2 meses

¿Te fue útil?

📳
🔵