Introduction
Voice notifications allow you to make automated calls with virtual agents. This endpoint enables you to send voice calls with AI-powered agents to your contacts, providing a personalized voice experience.📞 Send Voice Notification
To send a voice notification via the Lovi API, make a POST request to the voice endpoint with the necessary parameters and authentication.Method: POST Format: JSON
Endpoint
Query Parameters
Example URL:
Headers
Note: Authentication is handled via the
access_key parameter in the URL, not through headers.
Body Request
The body of the request contains the voice notification details.Structure with nested objects (unflatten=false or omitted)
Structure with flat variables (unflatten=true)
Required Parameters
Optional Parameters
Custom Contact Fields: You can include any additional fields in the
contact object for personalization (e.g., titulacion, fuente_cliente, etc.).
Response
When the request is successful, the response will contain:Voice-Specific Features
- AI-Powered Agents: Use virtual agents with natural voice synthesis
- Personalization: Include custom contact data for personalized calls
- Scheduling: Program calls for specific times with timezone support
- Event Triggers: Trigger specific conversation flows with
name_event
Best Practices
- Timing: Schedule calls during business hours for better engagement
- Personalization: Include relevant contact information for better conversation flow
- Agent Selection: Choose appropriate agents based on use case (sales, support, etc.)
- Compliance: Ensure calls comply with local regulations and consent requirements
📚 Tips for Voice Development
- Always include
agent_idfor voice notifications - Use scheduling features to respect time zones
- Test with development agents before production
- Monitor call completion rates and adjust timing accordingly
