Getting ready

In order to use the Twilio SMS output (objsmsmessage) binding, we need to do the following:

  1. Create a trial Twilio account at https://www.twilio.com/try-twilio.
  2. After successful creation of the account, grab the ACCOUNT SID and AUTH TOKEN from the Twilio Dashboard, as shown in the following screenshot. We will create two App settings in the Application settings blade of the function app for both of these settings:

  1. In order to start sending messages, you need to create an active number within Twilio, which will be used as the From number that you will use for sending the SMS. You can create and manage numbers in the Phone Numbers Dashboard. Navigate to https://www.twilio.com/console/phone-numbers/incoming and click on the Get Started button, as shown in the following screenshot:

  1. On the Get Started with Phone Numbers page, click on Get your first Twilio phone number, as shown in the following screenshot:

  1. Once you get your number, it will be listed as follows:

  1. The final step is to verify a number to which you would like to send an SMS. You can have only one number in your trial account. You can verify a number on Twilio's Verified page, available at https://www.twilio.com/console/phone-numbers/verified. The following is a screenshot of the list of verified numbers: