The root element of Twilio's XML Markup is the
All of Twilio's SMS verb elements must be nested within this element. Any other structure is
|Attribute Name||Allowed Values||Default Value|
|version||Twilio version identifier||your accounts default version|
The version attribute tells the Twilio engine which version of the software to use to process this TwiML document. This is useful to developers who would like their application to run under a legacy version of Twilio, rather than the latest release. The current Twilio releases are:
<Response> element is the top level element and may not be nested in any other verb element.
The following verbs can be nested within
<?xml version="1.0" encoding="UTF-8"?> <Response> <Sms>Hello</Sms> </Response>
An simple response example with a nested
<?xml version="1.0" encoding="UTF-8"?> <Response version="2008-08-01"> <Sms>Hello</Sms> </Response>
A response element specifying its preferred version.