we’ve been asked on how to connect to twillio platform, in particular to send SMS from IntuiFace Experiences.
We made some test with twillio API, and good news ! It works well with IntuiFace .
First thing to look at is their documentation. It’s pretty clear and straight forward.
You can copy the curl command they provide in API Explorer :
curl -X POST 'https://api.twilio.com/2010-04-01/Accounts/YOUR_ACCOUNT_SID/Messages.json' \ --data-urlencode 'To=+TO_NUMBER' \ --data-urlencode 'From=+FROM_NUMBER' \ --data-urlencode 'Body=YOUR_MESSAGE' \ -u YOUR_ACCOUNT_SID: YOUR AUTH TOKEN
You’ll need to replace following parameters with you own information :
- YOUR_ACCOUNT_SID and YOUR AUTH TOKEN can be found on your twillio console
- FROM_NUMBER has to be created on https://www.twilio.com/console/phone-numbers/incoming
- TO_NUMBER : in trial version of Twillio, TO_NUMBER has to be provided in https://www.twilio.com/console/phone-numbers/verified
Once everything is set-up you’ll just have to send the request and check you phone