Plivo Integration
Configure Plivo for voice communication in Talkr AI
Overview
Plivo is a cloud communications platform that provides global voice and messaging APIs. Talkr AI's Plivo integration uses Plivo's XML and WebSocket streaming to power your voice agents.
Prerequisites
Before setting up Plivo integration, you'll need:
- A Plivo account
- Auth ID and Auth Token from your Plivo Console
- A Plivo Application with Voice capability (optional — leave the field blank in Talkr and we'll auto-create one for you on save, with the
answer_urlpre-set) - At least one Plivo phone number
- Talkr AI instance running and accessible
Configuration
Step 1: Get Plivo Credentials
- Log in to your Plivo Console
- Find your Auth ID and Auth Token on the dashboard
- (Optional) Navigate to Voice → Applications and create (or open) the application you'll use with Talkr, then copy its Application ID (a UUID). Skip this if you want Talkr to auto-create the application for you on save.
- Navigate to Phone Numbers → Your Numbers and copy the numbers you plan to use
Step 2: Configure in Talkr AI
-
Navigate to /telephony-configurations and click Add configuration
-
Select Plivo as your provider
-
Enter your credentials:
- Auth ID
- Auth Token
- Application ID — optional. Leave blank and Talkr will auto-create a Plivo Application on save (with the
answer_urlalready configured) and store its Application ID on this configuration.
-
Click Save Configuration
-
Open the configuration you just created and add at least one phone number (with country code, in E.164 format —
+then country code then number, no spaces or dashes, e.g.+1234567890). The default caller ID is used for outbound calls.If Talkr auto-created the Plivo Application for you, you still need to link your Plivo numbers to that application in the Plivo Console under Phone Numbers → Your Numbers. The auto-created application is named
talkr-<random>— its Application ID is shown on the saved configuration.
Step 3: Test Your Configuration
- Create a test workflow
- Click "Call" to verify connection
- Check call logs for successful connection
Inbound Calling Setup
Plivo numbers don't carry an answer_url directly — the URL lives on a Plivo Application, and each number is linked to one application. When you save an inbound workflow on a phone number, Talkr automatically pushes the webhook URL to your Plivo Application's answer_url (provided the credentials are correct). You don't need to set the webhook by hand. If Talkr auto-created the application during configuration save, the answer_url is already set and this push is a no-op.
Step 1: Link the Phone Number to Your Plivo Application
- Go to Phone Numbers → Your Numbers in the Plivo Console
- Open the number you want to use for inbound calls
- Set its Application to the same application whose ID you configured in Talkr
- Save
Step 2: Assign an Inbound Workflow to the Phone Number in Talkr
- Go to /telephony-configurations and open your Plivo configuration
- In the Phone numbers section, edit the number that should receive inbound calls
- Set its Inbound workflow to the agent that should answer
- Save
Step 3: Verify the Answer URL on the Plivo Application
-
Open your Plivo Application in the Plivo Console under Voice → Applications
-
Confirm:
- Answer URL is set to:
https://talkr.intelstacks.com/api/v1/telephony/inbound/run - Answer Method is
POST
Talkr pushed this URL automatically when you saved the inbound workflow in Step 2. The same URL is shared across every number linked to that application — Talkr routes each inbound call to the right agent based on the called number's inbound workflow assignment. If the field is empty, shows a different URL, or Talkr surfaced a sync warning on save, the auto-push failed — most often because the Auth ID/Token or Application ID in Talkr is incorrect. Paste the URL into the field yourself, set the method to
POST, and save the application. On self-hosted Talkr, replacetalkr.intelstacks.comwith your backend domain. - Answer URL is set to:
Step 4: Verify Setup
- Ensure your Talkr AI instance is publicly accessible
- Verify any firewalls allow Plivo's IP ranges
Test Inbound Calling
- Call your configured Plivo phone number from another phone
- Verify your Talkr AI voice agent answers and responds
- Check call logs in both Talkr AI dashboard and Plivo Console
Troubleshooting
Best Practices
- Test your configuration with a single call before running campaigns
- Monitor Plivo Console for usage and billing
- Use a dedicated Plivo Application for Talkr so the shared
answer_urldoesn't conflict with other systems