# Diga ## Docs - [Apply agent template](https://docs.diga.io/api-reference/agent-templates/apply-agent-template.md): Create a new agent from a template, substituting <> placeholders with provided values. - [List agent templates](https://docs.diga.io/api-reference/agent-templates/list-agent-templates.md): List available agent templates with pagination. Templates are global and visible to all users. - [Create a new agent](https://docs.diga.io/api-reference/agents/create-a-new-agent.md): Create a new agent. By default, creates a new version (v1) and a draft. If is_draft is true, creates only a draft. - [Delete agent](https://docs.diga.io/api-reference/agents/delete-agent.md): Delete an agent by ID. Cannot delete agents with published versions. - [Delete agent version](https://docs.diga.io/api-reference/agents/delete-agent-version.md): Delete a specific version of an agent. Cannot delete published or draft versions that are currently in use. - [Get agent by ID](https://docs.diga.io/api-reference/agents/get-agent-by-id.md): Retrieve a specific agent by ID. By default, retrieves the draft version. Optionally specify a version_id or is_published to retrieve a specific version. - [Get Agents Versions Dropdown](https://docs.diga.io/api-reference/agents/get-agents-versions-dropdown.md): Retrieve all agents with their versions for dropdowns. - [Launch new agent version](https://docs.diga.io/api-reference/agents/launch-new-agent-version.md): Launch a new version of an existing agent based on the current draft. Creates a numbered version (e.g., v2, v3) that can be published. - [List agent versions](https://docs.diga.io/api-reference/agents/list-agent-versions.md): Retrieve a paginated list of all versions for a specific agent, including draft and published versions. - [List all agents](https://docs.diga.io/api-reference/agents/list-all-agents.md): Retrieve a paginated list of agents for the company. By default, retrieves only draft versions. Supports cursor-based and page-based pagination. - [Publish agent version](https://docs.diga.io/api-reference/agents/publish-agent-version.md): Publish a specific version of an agent and associate it with phone numbers. Phone numbers can be inbound, outbound, or both. If version_id is None, unpublishes the current published version. - [Update agent draft](https://docs.diga.io/api-reference/agents/update-agent-draft.md): Update the draft version of an existing agent with new configuration, prompts, or settings. - [Create Api Key](https://docs.diga.io/api-reference/api-keys/create-api-key.md): Create a new - [Delete Api Key](https://docs.diga.io/api-reference/api-keys/delete-api-key.md): Delete {id} - [Get Api Key](https://docs.diga.io/api-reference/api-keys/get-api-key.md): Retrieve information about {id} - [List Api Keys](https://docs.diga.io/api-reference/api-keys/list-api-keys.md): Retrieve information about - [Update Api Key](https://docs.diga.io/api-reference/api-keys/update-api-key.md): Update an existing {id} - [Update Customer](https://docs.diga.io/api-reference/billing--customers/update-customer.md): Update an existing - [Get Payment Methods](https://docs.diga.io/api-reference/billing--payment-methods/get-payment-methods.md): Get all payment methods associated with the company's current Stripe customer. - [Get Subscription](https://docs.diga.io/api-reference/billing--subscriptions/get-subscription.md): Retrieve information about - [Get call by ID](https://docs.diga.io/api-reference/calls/get-call-by-id.md): Retrieve detailed information about a specific call including transcription summary, duration, cost, and recording URL if available. - [Get call messages/transcription](https://docs.diga.io/api-reference/calls/get-call-messagestranscription.md): Retrieve the paginated transcription messages for a specific call, showing the conversation between the agent and the caller. - [List all calls](https://docs.diga.io/api-reference/calls/list-all-calls.md): Retrieve a paginated list of calls for the company. Supports filtering by status, date range, and other criteria. Includes recording URLs when available. - [Make outbound call](https://docs.diga.io/api-reference/calls/make-outbound-call.md): Initiate an outbound call using the outbound agent associated with the specified phone number. Only Spanish phone numbers are supported. - [Create Path](https://docs.diga.io/api-reference/conversational-paths/create-path.md): Create a new - [Delete Path](https://docs.diga.io/api-reference/conversational-paths/delete-path.md): Delete {id} - [Get Path](https://docs.diga.io/api-reference/conversational-paths/get-path.md): Retrieve information about {id} - [List Paths](https://docs.diga.io/api-reference/conversational-paths/list-paths.md): Retrieve information about - [Update Path](https://docs.diga.io/api-reference/conversational-paths/update-path.md): Update an existing {id} - [Create HTTP tool](https://docs.diga.io/api-reference/integration/create-http-tool.md): Create a new custom HTTP tool for an HTTP integration. Only works with HTTP integrations. MCP tools are synced automatically from the MCP server. - [Create integration](https://docs.diga.io/api-reference/integration/create-integration.md): Create a new HTTP or MCP integration. For MCP integrations, tools are automatically synced from the MCP server. Authentication is validated during creation. - [Delete HTTP tool](https://docs.diga.io/api-reference/integration/delete-http-tool.md): Delete an HTTP tool from an integration. Only works with HTTP integrations. MCP tools are managed by the MCP server and cannot be deleted. - [Delete integration](https://docs.diga.io/api-reference/integration/delete-integration.md): Permanently delete an integration and all associated tools. For MCP integrations, clears the tool cache. For HTTP integrations, cascade deletes all HTTP tools. - [Get integration details](https://docs.diga.io/api-reference/integration/get-integration-details.md): Retrieve detailed information about a specific integration by ID, including configuration and type. - [Get integration tool](https://docs.diga.io/api-reference/integration/get-integration-tool.md): Retrieve details of a specific tool. For HTTP integrations: use tool UUID. For MCP integrations: use tool ID (maps to name internally). - [List integration tools](https://docs.diga.io/api-reference/integration/list-integration-tools.md): List all tools from an integration. For MCP: fetches from MCP server with name-based cursors. For HTTP: returns tools from database with UUID cursors. Automatically syncs MCP tools. - [List integrations](https://docs.diga.io/api-reference/integration/list-integrations.md): Retrieve a paginated list of all integrations (HTTP and MCP) configured for the company. - [Update HTTP tool](https://docs.diga.io/api-reference/integration/update-http-tool.md): Update an existing HTTP tool's configuration. Only works with HTTP integrations. MCP tools cannot be updated directly. - [Update integration](https://docs.diga.io/api-reference/integration/update-integration.md): Update integration configuration. For MCP integrations, tools are automatically re-synced if base_url or auth_key changes. Authentication is revalidated. - [Update tool approval settings](https://docs.diga.io/api-reference/integration/update-tool-approval-settings.md): Batch update approval_required settings for multiple tools. Works with both HTTP and MCP tools. Tools requiring approval need explicit user confirmation before execution. - [Create Knowledge Base](https://docs.diga.io/api-reference/knowledge-bases/create-knowledge-base.md): Create a new knowledge base from existing knowledge items - [Delete Knowledge Base](https://docs.diga.io/api-reference/knowledge-bases/delete-knowledge-base.md): Delete a knowledge base. - [Get Knowledge Base](https://docs.diga.io/api-reference/knowledge-bases/get-knowledge-base.md): Retrieve a specific knowledge base by ID - [List Knowledge Bases](https://docs.diga.io/api-reference/knowledge-bases/list-knowledge-bases.md): List all knowledge bases for the current company with pagination. - [Update Knowledge Base](https://docs.diga.io/api-reference/knowledge-bases/update-knowledge-base.md): Update a knowledge base - [Delete Knowledge Item](https://docs.diga.io/api-reference/knowledge-items/delete-knowledge-item.md): Delete a knowledge item - [Get Knowledge Item](https://docs.diga.io/api-reference/knowledge-items/get-knowledge-item.md): Retrieve a specific knowledge item by ID - [List Knowledge Items](https://docs.diga.io/api-reference/knowledge-items/list-knowledge-items.md): List all knowledge items for the current company with pagination. - [Update Knowledge Base](https://docs.diga.io/api-reference/knowledge-items/update-knowledge-base.md): Update a knowledge item - [Upload Knowledge Items](https://docs.diga.io/api-reference/knowledge-items/upload-knowledge-items.md): Upload knowledge files to the system. Send as multipart/form-data with one or more of: - File upload: name, category, file - [Upload Text Item](https://docs.diga.io/api-reference/knowledge-items/upload-text-item.md): Create a knowledge item from raw text content. The text is stored in the database and indexed asynchronously. - [Upload Url Items](https://docs.diga.io/api-reference/knowledge-items/upload-url-items.md): Index web URLs as knowledge items. Each URL is crawled, parsed, and indexed asynchronously. - [Get Knowledge Usage](https://docs.diga.io/api-reference/knowledge/get-knowledge-usage.md): Get knowledge storage usage for the current company. Returns used bytes, limit bytes, and item count. - [Get logs for a call](https://docs.diga.io/api-reference/logs/get-logs-for-a-call.md): Retrieve external logs for a specific call. Returns customer-visible logs only. - [Get Usage Alert Config](https://docs.diga.io/api-reference/notifications/get-usage-alert-config.md): Retrieve information about usage_alert - [Update Usage Alert Config](https://docs.diga.io/api-reference/notifications/update-usage-alert-config.md): Create a new usage_alert - [Get Phone](https://docs.diga.io/api-reference/phones/get-phone.md): Retrieve one of your phones by its id - [Import Phone Number](https://docs.diga.io/api-reference/phones/import-phone-number.md): Import a phone number from an external SIP provider. - [List Phones](https://docs.diga.io/api-reference/phones/list-phones.md): Retrieve a list of phones, optionally filtered by agent ID. - [Release Phone Number](https://docs.diga.io/api-reference/phones/release-phone-number.md): Release a phone number. - [Update Phone](https://docs.diga.io/api-reference/phones/update-phone.md): Update a phone's configuration (nickname and/or agent assignments). - [Accept invitation and join project](https://docs.diga.io/api-reference/project-invitations/accept-invitation-and-join-project.md): Accept a project invitation and become a member of the project. - [Delete invitation](https://docs.diga.io/api-reference/project-invitations/delete-invitation.md): Remove a pending invitation from the project. - [Get invitation details](https://docs.diga.io/api-reference/project-invitations/get-invitation-details.md): Retrieve detailed information about a specific project invitation. - [Send bulk project invitations](https://docs.diga.io/api-reference/project-invitations/send-bulk-project-invitations.md): Send multiple email invitations to users to join your project. Uses batch email sending to avoid rate limits. - [Send project invitation](https://docs.diga.io/api-reference/project-invitations/send-project-invitation.md): Send an email invitation to a user to join your project. - [Update invitation role](https://docs.diga.io/api-reference/project-invitations/update-invitation-role.md): Change the role assigned to a pending invitation before it's accepted. - [Get current member](https://docs.diga.io/api-reference/project-members/get-current-member.md): Retrieve the current user's membership details, role, and permissions for the project. - [Get project member](https://docs.diga.io/api-reference/project-members/get-project-member.md): Retrieve details of a specific member in a project, including their assigned role and permissions. - [List project members](https://docs.diga.io/api-reference/project-members/list-project-members.md): Retrieve a paginated list of all members in a project with their assigned roles and permissions. - [Remove project member](https://docs.diga.io/api-reference/project-members/remove-project-member.md): Remove a member from the project permanently. - [Update member role](https://docs.diga.io/api-reference/project-members/update-member-role.md): Change a project member's role (e.g., from member to admin or vice versa). - [Create Project](https://docs.diga.io/api-reference/projects/create-project.md): Create a new project and automatically assign the authenticated user as admin. - [Delete Project](https://docs.diga.io/api-reference/projects/delete-project.md): Permanently delete a project and all associated data. - [Get Project](https://docs.diga.io/api-reference/projects/get-project.md): Retrieve detailed information about a specific project by its ID. - [List Projects](https://docs.diga.io/api-reference/projects/list-projects.md): Retrieve a paginated list of all projects where the authenticated user is a member. - [Update Project](https://docs.diga.io/api-reference/projects/update-project.md): Update an existing project's information. Only the fields provided will be updated. - [Bulk download recordings](https://docs.diga.io/api-reference/recordings/bulk-download-recordings.md): Download multiple call recordings as a ZIP file. - [Get Recording](https://docs.diga.io/api-reference/recordings/get-recording.md): Retrieve a call recording by its id. - [Get role details](https://docs.diga.io/api-reference/roles/get-role-details.md): Retrieve detailed information about a specific role by its ID. - [List all available roles](https://docs.diga.io/api-reference/roles/list-all-available-roles.md): Retrieve a complete list of all roles available in the system with their permissions. - [Get trace for a call](https://docs.diga.io/api-reference/traces/get-trace-for-a-call.md): Retrieve the distributed trace data for a specific call from Tempo. - [Create Verification](https://docs.diga.io/api-reference/verification/create-verification.md): Create a new verification by uploading a signed document. - [List Verifications](https://docs.diga.io/api-reference/verification/list-verifications.md): List all verifications for the authenticated company. - [Add Favourite Voice](https://docs.diga.io/api-reference/voices/add-favourite-voice.md): Add a voice to the company's favourites - [Get Voice](https://docs.diga.io/api-reference/voices/get-voice.md): Get a voice by its ID - [List Favourite Voices](https://docs.diga.io/api-reference/voices/list-favourite-voices.md): List the company's favourite voices - [Remove Favourite Voice](https://docs.diga.io/api-reference/voices/remove-favourite-voice.md): Remove a voice from the company's favourites - [Resolve Voice](https://docs.diga.io/api-reference/voices/resolve-voice.md): Resolve a provider voice ID to a system voice. - [Create Webhook](https://docs.diga.io/api-reference/webhooks/create-webhook.md): Create a new - [Delete Webhook](https://docs.diga.io/api-reference/webhooks/delete-webhook.md): Delete a webhook record by ID. - [Get Webhook](https://docs.diga.io/api-reference/webhooks/get-webhook.md): Retrieve information about {id} - [Get Webhooks](https://docs.diga.io/api-reference/webhooks/get-webhooks.md): Retrieve information about - [Update Webhook](https://docs.diga.io/api-reference/webhooks/update-webhook.md): Update an existing {id} - [Copy Template](https://docs.diga.io/api-reference/workflows/copy-template.md): Copy a workflow template to the user's project. - [Get Flow By Id](https://docs.diga.io/api-reference/workflows/get-flow-by-id.md): Get a single flow by ID. - [List All Flows](https://docs.diga.io/api-reference/workflows/list-all-flows.md): List ALL flows from the user's workflow project. - [List Flow Templates](https://docs.diga.io/api-reference/workflows/list-flow-templates.md): List available workflow templates. - [Añade tus integraciones externas](https://docs.diga.io/es/build/agentes/anadir-integraciones.md): Conecta tu agente con servicios externos para ampliar su funcionalidad - [Añade bases de conocimiento](https://docs.diga.io/es/build/agentes/bases-conocimiento.md): Asigna bases de conocimiento a tus agentes para que accedan a información de tu negocio durante las conversaciones. - [Como funciona](https://docs.diga.io/es/build/agentes/camino-conversacional.md): Construye agentes telefónicos con flujos estructurados mediante nodos y transiciones para escenarios de llamadas complejas - [Tipos de Nodos](https://docs.diga.io/es/build/agentes/camino-conversacional/tipos-nodos.md): Guía completa de los seis tipos de nodos disponibles en caminos conversacionales y cuándo usar cada uno - [Control de versiones](https://docs.diga.io/es/build/agentes/control-versiones.md): Gestiona y prueba múltiples versiones de tus agentes de forma segura - [Herramientas de llamada](https://docs.diga.io/es/build/agentes/herramientas-llamada.md): Herramientas predefinidas para controlar el flujo de llamadas telefónicas - [Prueba tu agente](https://docs.diga.io/es/build/agentes/llamadas-test.md): Aprende a probar tu agente directamente desde el editor antes de publicarlo, sin salir del navegador. - [Personalización de Llamadas](https://docs.diga.io/es/build/agentes/personalizacion-llamada.md): Configura la **identidad**, el **comportamiento** y los **ajustes técnicos** de tu agente para optimizar la experiencia en llamadas telefónicas. - [Como hacer prompts](https://docs.diga.io/es/build/agentes/prompt-unico.md): Mejores prácticas para escribir prompts efectivos que creen agentes telefónicos confiables y naturales - [Variables Dinámicas](https://docs.diga.io/es/build/agentes/variables-dinamicas.md): Personaliza las respuestas de tu agente con información contextual usando variables dinámicas - [Bases de conocimiento](https://docs.diga.io/es/build/bases-conocimiento.md): Crea y gestiona bases de conocimiento para proporcionar información personalizada a tus agentes. - [Asignar Flujos a Agentes](https://docs.diga.io/es/build/flujos/asignar-agentes.md): Conecta tus flujos con agentes específicos para que se ejecuten durante o después de las llamadas - [Conexiones](https://docs.diga.io/es/build/flujos/conexiones.md): Conecta servicios externos a tus flujos mediante claves de API o OAuth - [Crear Flujos](https://docs.diga.io/es/build/flujos/crear-flujos.md): Guía paso a paso para crear flujos de automatización en el constructor visual - [Introducción a los Flujos](https://docs.diga.io/es/build/flujos/introduccion.md): Orquesta automatizaciones multi-paso antes, durante y después de las llamadas de tus agentes - [La Pieza de Diga](https://docs.diga.io/es/build/flujos/pieza-diga.md): Referencia completa de los triggers y acciones de Diga para conectar flujos con llamadas - [Plantillas de Flujos](https://docs.diga.io/es/build/flujos/plantillas.md): Usa flujos pre-configurados para empezar rápidamente con automatizaciones probadas - [Integraciones HTTP](https://docs.diga.io/es/build/integraciones/integraciones-http.md): Conecta cualquier API REST a tus agentes telefónicos mediante integraciones HTTP - [Integraciones MCP](https://docs.diga.io/es/build/integraciones/integraciones-mcp.md): Conecta servidores MCP a tus agentes para sincronizar herramientas automáticamente - [Introducción a las Integraciones](https://docs.diga.io/es/build/integraciones/introduccion.md): Conecta tus agentes con sistemas externos para realizar acciones durante las llamadas telefónicas - [Actualizaciones](https://docs.diga.io/es/changelog.md): Registro de actualizaciones y mejoras de la plataforma Diga - [Crea tu primer agente](https://docs.diga.io/es/crear-agente.md): Guia paso a paso para crear tu primer agente en Diga - [Logs de llamadas](https://docs.diga.io/es/despliegue/logs-llamadas.md): Consulta los eventos detallados de cada llamada para entender qué ocurrió en cada momento - [Monitoreo de Llamadas](https://docs.diga.io/es/despliegue/monitoreo-logs.md): Consulta y analiza todas las llamadas realizadas por tus agentes en tiempo real - [Trazas de llamadas](https://docs.diga.io/es/despliegue/trazas-llamadas.md): Visualiza el flujo completo de una llamada con trazas distribuidas para analizar tiempos y comportamiento - [Introducción](https://docs.diga.io/es/index.md): Bienvenido a la documentación de Diga - [API Keys](https://docs.diga.io/es/plataforma/api-keys.md): Crea y gestiona claves API para conectarte a la API de Diga y controlar los permisos de acceso. - [Conexiones](https://docs.diga.io/es/plataforma/conexiones.md): Gestiona y mantén integradas todas las conexiones externas de tu proyecto. - [Cuenta de usuario](https://docs.diga.io/es/plataforma/cuentas.md): Gestión de cuentas de usuario y perfil en Diga - [Equipo](https://docs.diga.io/es/plataforma/equipo.md): Invita usuarios a tu proyecto, gestiona sus roles y controla los permisos de acceso. - [Planes y precios](https://docs.diga.io/es/plataforma/facturacion.md): Compara los planes disponibles en Diga, cambia de plan y gestiona tu período de facturación. - [Sobre Melo](https://docs.diga.io/es/plataforma/melo.md): Por qué Melo puede dar respuestas incorrectas y cómo usarlo de forma efectiva - [Proyectos](https://docs.diga.io/es/plataforma/proyectos.md) - [Suscripción](https://docs.diga.io/es/plataforma/suscripcion.md): Gestiona tu plan actual, métodos de pago e historial de pagos desde los ajustes de tu proyecto. - [Comprar Números de Teléfono](https://docs.diga.io/es/telefonia/comprar-telefonos.md): Compra y gestión de números de teléfono para tus agentes de voz - [Números Personalizados](https://docs.diga.io/es/telefonia/sip-trunks.md): Importa tus propios números de teléfono usando SIP trunks - [Netelip - Importar número](https://docs.diga.io/es/telefonia/sip-trunks/netelip.md): Guía paso a paso para conectar tu cuenta de Netelip mediante SIP trunking - [Twilio - Importar número](https://docs.diga.io/es/telefonia/sip-trunks/twilio.md): Guía paso a paso para conectar tu cuenta de Twilio mediante SIP trunking ## OpenAPI Specs - [openapi](https://docs.diga.io/api-reference/openapi.json) ## Optional - [Support](https://www.diga.io/contact)