Skip to content
Tigy AI
/
Legal centerDashboard
OverviewDeveloper
Overview

Get started

  • Introduction
  • Overview
  • First agent
  • Tools and data
  • Concepts
    • How it works
    • Calls and runs

Configure

  • Behavior
    • Prompting
    • Conversation flow
  • Voice and models
    • LLM
    • Voice
    • Transcription
    • Fallbacks
    • Audio library
  • Tools
    • Tools
    • HTTP API
    • MCP
    • Credentials
    • Call transfer
    • End call
  • Knowledge base
  • Testing
  • Agent ID

Deploy

  • Publishing
  • Versions
  • Telephony
    • Introduction
    • Connect telephony
    • Inbound calls
    • Twilio
    • Telnyx
    • SIP

Monitor

  • Runs and usage
  • Reports
  • Troubleshooting

Workspace

  • Workspace
  • Members and permissions
  • Billing
  • Security
  • Privacy

Developer

  • Call data
Dashboard
Explore pages
Overview

Get started

  • Introduction
  • Overview
  • First agent
  • Tools and data
  • Concepts
    • How it works
    • Calls and runs

Configure

  • Behavior
    • Prompting
    • Conversation flow
  • Voice and models
    • LLM
    • Voice
    • Transcription
    • Fallbacks
    • Audio library
  • Tools
    • Tools
    • HTTP API
    • MCP
    • Credentials
    • Call transfer
    • End call
  • Knowledge base
  • Testing
  • Agent ID

Deploy

  • Publishing
  • Versions
  • Telephony
    • Introduction
    • Connect telephony
    • Inbound calls
    • Twilio
    • Telnyx
    • SIP

Monitor

  • Runs and usage
  • Reports
  • Troubleshooting

Workspace

  • Workspace
  • Members and permissions
  • Billing
  • Security
  • Privacy

Developer

  • Call data
Dashboard

Documentation / Twilio Integration

Twilio Integration

Configure Twilio for voice communication in Tigy AI

Overview

Twilio is a cloud communications platform that enables voice calling, messaging, and video capabilities. Tigy AI's Twilio integration provides seamless connectivity for your voice agents.

Prerequisites

Before setting up Twilio integration, you'll need:

  • A Twilio account
  • Account SID and Auth Token from your Twilio Console
  • At least one Twilio phone number
  • Tigy AI instance running and accessible

Configuration

Step 1: Get Twilio Credentials

  1. Log in to your Twilio Console
  2. Find your Account SID and Auth Token on the dashboard
  3. Navigate to Phone Numbers → Manage → Active Numbers
  4. Copy your phone number(s)

Step 2: Configure in Tigy AI

  1. Navigate to /telephony-configurations and click Add configuration
  2. Select Twilio as your provider
  3. Enter your credentials:
    • Account SID
    • Auth Token
  4. Click Save Configuration
  5. Open the configuration you just created and add at least one phone number in E.164 format.

Step 3: Test Your Configuration

  1. Create a test agent
  2. Click "Call" to verify connection
  3. Check call logs for successful connection

Inbound Calling Setup

Inbound routing is driven by the phone number itself — there is a single webhook URL for the entire org, and Tigy AI resolves which agent to run from the called number's assigned inbound agent. When you save an inbound agent on a phone number, Tigy AI automatically pushes the webhook URL to that number's VoiceUrl in your Twilio account (provided the credentials are correct and the number belongs to that account).

Step 1: Assign an Inbound Agent to the Phone Number

  1. Go to /telephony-configurations and open your Twilio configuration
  2. In the Phone numbers section, edit the number that should receive inbound calls
  3. Set its Inbound agent to the agent that should answer
  4. Save

Step 2: Verify the Webhook URL in Twilio Console

  1. Go to Phone Numbers → Manage → Active Numbers in Twilio Console
  2. Click the phone number you assigned an inbound agent to in Step 1
  3. In the Voice Configuration section, confirm:
    • Webhook is set to: https://api.tigyai.com/api/v1/telephony/inbound/run
    • HTTP Method is POST

Note

Tigy AI pushed this URL automatically when you saved the inbound agent in Step 1. If the field is empty, shows a different URL, or Tigy AI surfaced a sync warning, the auto-push failed — most often because the credentials are incorrect or the number isn't owned by this Twilio account. Paste the URL into the field yourself, set the method to POST, and click Save Configuration. replace api.tigyai.com with your backend domain.

Twilio Console: voice configuration and inbound call webhook

Step 3: Verify Setup

  • Ensure your Tigy AI instance is publicly accessible
  • Verify any firewalls allow Twilio's IP ranges

Test Inbound Calling

  1. Call your configured Twilio phone number from another phone
  2. Verify your Tigy AI voice agent answers and responds
  3. Check call logs in both Tigy AI dashboard and Twilio Console

Troubleshooting

Invalid phone number error

Ensure phone numbers include country code in E.164 format: `+1234567890`

Authentication failed

- Verify Account SID and Auth Token are correct - Check for extra spaces in
credentials - Ensure credentials haven't been regenerated in Twilio Console

Webhook signature validation failing

- Confirm your Auth Token matches exactly - Verify the webhook URL matches
what Twilio sends - Check if you're behind a proxy that modifies requests

No audio on calls

- Verify WebSocket connection is established - Check firewall rules for
WebSocket traffic - Ensure audio pipeline is configured correctly

Inbound calls go to voicemail

- Verify the Twilio number's webhook is set to
`https://api.tigyai.com/api/v1/telephony/inbound/run` - Ensure the webhook
URL is publicly accessible from the internet - Confirm the called number
exists in your Tigy AI telephony configuration and has an **Inbound
agent** assigned - Verify Tigy AI instance is running and responding

Voice agent doesn't respond to inbound calls

- Confirm the phone number has an **Inbound agent** assigned in
/telephony-configurations - Check webhook signature validation is working
(Auth Token in Tigy AI matches Twilio Console) - Verify WebSocket connection
establishes successfully - Review call logs for error messages

Best Practices

  • Test your configuration with a single inbound call
  • Monitor Twilio Console for usage and billing
← Back to documentation
© 2026 Tigy AItigyai.com ↗

On this page

  • Overview
  • Prerequisites
  • Configuration
  • Step 1: Get Twilio Credentials
  • Step 2: Configure in Tigy AI
  • Step 3: Test Your Configuration
  • Inbound Calling Setup
  • Step 1: Assign an Inbound Agent to the Phone Number
  • Step 2: Verify the Webhook URL in Twilio Console
  • Step 3: Verify Setup
  • Test Inbound Calling
  • Troubleshooting
  • Invalid phone number error
  • Authentication failed
  • Webhook signature validation failing
  • No audio on calls
  • Inbound calls go to voicemail
  • Voice agent doesn't respond to inbound calls
  • Best Practices