- API & Docs
The root element of Twilio's XML Markup is the
All of Twilio's 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 the TwiML elements within the 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> <Say>Hello</Say> </Response>
An simple response example with a nested
<?xml version="1.0" encoding="UTF-8"?> <Response version="2008-08-01"> <Say>Hello</Say> </Response>
A response element specifying its preferred version.