Overview
There are two ways to run conversations with Phonic, serving different customer profiles:
Webhook conversations
Features:
- Start a conversation with a single function call
- Dynamic agent configuration at the start of each conversation via webhook
- Post-call analysis via webhook
- Tool use via HTTP requests
Use this if you:
- Prioritize ease of use and speed to deployment
- Would like Phonic to orchestrate telephony for you, either with your phone number or ours
WebSocket conversations
Features:
- All webhook conversation features, in addition to:
- Start a conversation by initiating a WebSocket connection
- Access to every payload exchanged between the telephony provider and Phonic API
- Tool use on the server side, which is helpful for using tools without exposing them to the public Internet
Use this if you:
- Would like to implement tools using your own infrastructure
- Would like to use your own audio interface, either via telephony, web, or other