Compat
The CompatNamespace provides a Twilio-compatible LAML REST API through the
RestClient. It implements the familiar
/2010-04-01/Accounts/{AccountSid}/ URL structure with 12 sub-resources, making it
straightforward to migrate existing Twilio integrations to SignalWire.
Access via client.compat on a RestClient instance.
The Compat namespace uses the same REST patterns as Twilio’s API. If you are migrating
from Twilio, most code changes are limited to updating the client initialization to use
SignalWire credentials. Resource identifiers use SIDs (e.g., CA... for calls, SM...
for messages).
Sub-resources
Account and subproject management.
Call management with recording and stream sub-resources.
SMS/MMS messaging with media sub-resources.
Fax management with media sub-resources.
Conference management with participants, recordings, and streams.
Phone number management, search, and import.
Application configuration management.
LAML (cXML) script management.
Queue management with member operations.
Recording management.
Transcription management.
API token management.