Provider Twilio
Description Twilio provides a web-service API for business to build scalable, reliable communication apps.
APIs

version: 2010-04-01

Documentation: reference

  • account: provides information about your account
  • sms: Send SMS, Check SMS


 document-logo.png twilio.mdsl
Samples Replace ${account} and ${password} by your Twilio account information
	
connection accounts { 
    operation init getMyAccountInfo 
       GET 'https://${account}:${password}@api.twilio.com/2010-04-01/Accounts' {
       protocol HTTP ;
       resultSet 'Accounts' ;
   } ;

}

connection SMS { 
    operation sendSMS 
        POST 'https://${account}:${password}@api.twilio.com/2010-04-01/Accounts/${account}/SMS/Messages' From To Body {
	protocol HTTP ;  
    } ;
}	

connection getSMSList { 
    operation init getSMSList GET 'https://${account}:${password}@api.twilio.com/2010-04-01/Accounts/${account}/SMS/Messages' {
	protocol HTTP ;  
	resultSet 'SMSMessages' ;
     } ;
}	
Related m|dsl elements  Layout, Connection, View
Powered by liveSite