Back to Browse

Using webhooks - Getting Started with Twilio Voice

15.8K views
Mar 8, 2022
8:52

Want more control of your TwiML? In this video we will set up a web server to respond to calls from Twilio whenever our phone rings. Sign up for a free Twilio API key: https://www.twilio.com/try-twilio?utm_source=youtube&utm_medium=video&utm_campaign=project_saiyan&utm_content=voice_video_1 All links mentioned in the video can be found in the Related Links section of this description Thanks for watching! === TIMESTAMPS === 00:00 Intro 01:48 Intro to Webhooks 02:44 Setting up a Local WebServer 04:33 Exposing our Local Server using NGROK 05:43 Updating your Phone Number 06:40 Using Twilio Helper Libraries to generate TwiML 07:25 Using programming logic to generate TwiML === NEED HELP WITH NGROK?? === DOWNLOAD NGROK: https://ngrok.com/download When you’re working on your application in your development environment, your app is only reachable by other programs on the same computer, so Twilio won’t be able to talk to it. Ngrok is our favourite tool for solving this problem. Once started, it provides a unique URL on the ngrok.io domain which will forward incoming requests to your local development environment. To start, head over to the ngrok download page and grab the binary for your operating system: https://ngrok.com/download Once downloaded, make sure your Express application is running, and then start ngrok using the command ./ngrok http 3000. Your unique ngrok domain name will be visible on the "Forwarding" line. It should look like "https://XXXXXXXXX.ngrok.io". If everything is working correctly, you should be able to open that domain name in your browser and see your Express application's "Hello World!" message displayed at your new ngrok URL. Anytime you’re working on your Twilio application and need a URL for a webhook, use ngrok to get a publicly accessible URL like this one. === BUILD IN YOUR FAVOURITE LANGUAGE === JAVASCRIPT - https://www.twilio.com/docs/voice/tutorials/how-to-respond-to-incoming-phone-calls-node-js?utm_source=youtube&utm_medium=video&utm_campaign=project_saiyan&utm_content=voice_video_3 C#/.NET - https://www.twilio.com/docs/voice/tutorials/how-to-respond-to-incoming-phone-calls-csharp?utm_source=youtube&utm_medium=video&utm_campaign=project_saiyan&utm_content=voice_video_3 PYTHON - https://www.twilio.com/docs/voice/tutorials/how-to-respond-to-incoming-phone-calls-python?utm_source=youtube&utm_medium=video&utm_campaign=project_saiyan&utm_content=voice_video_3 RUBY - https://www.twilio.com/docs/voice/tutorials/how-to-respond-to-incoming-phone-calls-ruby?utm_source=youtube&utm_medium=video&utm_campaign=project_saiyan&utm_content=voice_video_3 JAVA - https://www.twilio.com/docs/voice/tutorials/how-to-respond-to-incoming-phone-calls-java?utm_source=youtube&utm_medium=video&utm_campaign=project_saiyan&utm_content=voice_video_3 PHP - https://www.twilio.com/docs/voice/tutorials/how-to-respond-to-incoming-phone-calls-php?utm_source=youtube&utm_medium=video&utm_campaign=project_saiyan&utm_content=voice_video_3 === UPGRADE PROMO CODE === Use this Promo Code to upgrade from a trial account. You’ll still have to input bank card details, but this will give you some credit to use straight away. You can turn off automatic recharge to make sure you are not automatically charged when your credit falls low. $$$ TwilioVoiceTutorials £££ TwilioVoiceTutorialsGBP €€€ TwilioVoiceTutorialsEUR 👩‍💻 === SOCIALS === 👨‍👩‍👧‍👦 Join the Twilio Discord Server! https://discord.gg/hsXxxcT 🎥 Follow Nathaniel on Twitch http://www.twitch.tv/chatterboxcoder 🎥 Follow TwilioDevs on Twitch http://www.twitch.tv/twiliodevs 🐤 Follow Nathaniel's Twitter https://twitter.com/chatterboxcoder 🐤 Follow the TwilioDevs Twitter http://www.twitch.tv/twiliodevs #twilio #api #education

Download

0 formats

No download links available.

Using webhooks - Getting Started with Twilio Voice | NatokHD