Compatibility API
A drop-in replacement for Twilio’s TwiML and REST APIs
The SignalWire Compatibility API provides a seamless migration path from Twilio to SignalWire. If you’ve built applications using Twilio’s TwiML, REST API, or helper libraries, you can transition to SignalWire with minimal code changes while gaining access to SignalWire’s powerful infrastructure and competitive pricing.
Quick start migration
Migrating from Twilio to SignalWire typically requires just three changes:
Update your credentials
Replace your Twilio Account SID and Auth Token with your SignalWire Project ID and API Token from your SignalWire Dashboard.
What’s included
The Compatibility API provides three main components:
SignalWire’s XML-based language for controlling calls, messages, and faxes — directly compatible with Twilio’s TwiML.
Helper libraries for generating cXML and making REST API calls in your preferred language.
RESTful endpoints for managing calls, messages, phone numbers, recordings, and more.
Migrating from Twilio
You can easily migrate from Twilio with minimal changes. Replace the Twilio client with the SignalWire client and update the from number to a valid SignalWire number.
Make sure to change the 'From' number!
When migrating to SignalWire, make sure to replace the from numbers with a valid SignalWire number.
Supported features
The Compatibility API supports the full range of Twilio-compatible features: