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. Anunzi AI Calls API Documentation

Authentication & Security

API Key Authentication

All requests to the Anunzi API require authentication via an API Key, which must be included in the Authorization header of each request.

  • 📌 Important:

    • The API Key is provided by the Anunzi team and is unique for each client.

    • Do not share your API Key with third parties.

    • Always use secure connections (HTTPS).

Example of authentication in a request:

curl --request GET \
     --url https://api.anunzi.net/v2/assistants \
     --header 'accept: application/json' \
     --header 'Authorization: Bearer YOUR_API_KEY'

Model ID

The Model ID is a unique identifier used to assign assistants, calls, or actions to a specific client within Anunzi.

  • 📌 Important:

    • The Model ID is also provided by the Anunzi team.

    • It is required in multiple API requests to specify which assistant the actions apply to.

Example of using Model ID in a request:

{
  "model_id": "151531531x15361351",
  "name": "Test Assistant"
}

⚠️ Error Handling & Status Codes

To properly handle API responses, it is essential to understand status codes and how to react to errors.

Common Response Codes

Code
Meaning
Recommended Action

200 OK

Successful request.

Process the response as expected.

400 Bad Request

The request contains errors or invalid parameters.

Check and correct the data sent.

401 Unauthorized

Missing or incorrect API Key.

Ensure the Authorization: Bearer API_KEY header is included correctly.

403 Forbidden

You do not have permission to access this resource.

Contact the Anunzi team.

404 Not Found

The requested resource does not exist.

Verify that the endpoint and IDs are correct.

429 Too Many Requests

API rate limit exceeded.

Implement a retry mechanism and wait before retrying.

500 Internal Server Error

An unexpected error occurred on the server.

Try again later or contact Anunzi support.

AnteriorGetting StartedSiguienteAssistants

Última actualización hace 2 meses

¿Te fue útil?

🔑