import styles from ./index.module.scss; import LamlAdmonition from ./_laml-admonition.md # Introduction to the Compatibility API This API may look very similar to other, existing APIs youve used before — on purpose! The SignalWire Compatibility REST API is designed to make migrating your existing phone or messaging application easy and quick, while giving you access to our next generation APIs and endpoints to help you take your application to the next level. Use our cXML REST APIs to manage resources in your SignalWire Space.
Compatible language that you can use to define how your phone numbers react during calls or text messages.
Access the cXML REST APIs through a compatible client SDK available in most major languages.
## Examples Here are a couple of ways you can use the XML and the REST cXML APIs. ### XML Answering calls with Text-To-Speech and connecting to another number: xml Connecting you... +15551234567 ### REST Starting a new call: bash curl --request POST \ --url https://example.signalwire.com/api/laml/2010-04-01/Accounts/my-project-id/Calls \ --header Accept: application/json \ --header Authorization: Basic ZGVtbzpkZW1v \ --header Content-Type: application/x-www-form-urlencoded \ --data From=+15551234567 \ --data To=+15553456789