Voice API

Enable voice conversations with your customers using Twilio

Overview

The Voice API allows customers to have natural voice conversations with your AI agent over the phone. This is powered by Twilio and integrates seamlessly with your existing AI configuration.

Setup Requirements

  • Twilio account with a phone number
  • Twilio Account SID and Auth Token configured in your dashboard
  • Webhook URL configured in Twilio console

Webhook Configuration

Configure your Twilio phone number webhook to point to:

https://xjpcsybayagsulqoksnw.supabase.co/functions/v1/twilio-webhook

Set the HTTP method to POST for both "A CALL COMES IN" and "PRIMARY HANDLER FAILS" webhooks.

Features

  • Natural voice conversations using AI
  • Speech recognition and text-to-speech
  • Appointment scheduling via voice
  • Multi-language support
  • Call recording (optional)
  • Call analytics and logs