API Reference

A Guide to creating XML Bins for more flexibility and real-time control on your calls

XML bins allow you to program the behavior of the phone calls by writing simple XML syntax for more flexibility and real-time control on your calls.

A Simple Example

<?xml version="1.0" encoding="UTF-8"?> <!-- All responses must contain the Response element --> <Response> <!-- Say and Play are examples of Actions/Verbs --> <Play loop="15">https://your-app.com/demo-audio.mp3</Play> <Say>Welcome to ABC company customer support service</Say> <Dial> <!-- Number is an example of a Dial Child Action/Noun --> <Number>+253035783938</Number> </Dial> </Response>