How to secure Twilio webhook URLs in Node.js
Twilio’s APIs allow developers to reinvent communications with things like programmable phone calls, SMS or intelligent chatbots. Developers can build applications to interact with their users and react to their responses. To respond to events like incoming messages, you can define a webhook URL. A webhook is an HTTP request that Twilio performs to find out what the reaction to a Twilio even like an incoming SMS should be. Your defined HTTP endpoints have to respond with a Twilio-understandable configuration language called TwiML (Twilio Markup Language).
These endpoints can be hosted anywhere as long as they’re available publicly and accessible by Twilio’s infrastructure.
Three ways to secure your webhook URLs
Let’s assume you built a rating application that allows users to rate an event they’re at by sending an SMS to a certain number. Every incoming SMS to your number …
SIGNAL, our customer and developer conference, was only a few days ago. In case you missed it, you can have a look at the keynotes from day one and day two and also many of the product sessions on YouTube.
Twilio Functions now can be deployed via API and this changes how many people will develop with Twilio.
Developing in a serverless environment can be challenging and raise many questions. How do you develop your serverless project locally? How do you deploy your functions to production? How do you structure your code in the first place?
The new Twilio CLI beta is hot off the press. It was released at our yearly SIGNAL Conference only a few days ago. The CLI allows developers to run Twilio tasks right in their terminal without the need to visit the Twilio console in their browser.
The tool enables scripting and execution of everyday tasks such as buying and setting up phone numbers, creating managing sync services, sending emails, and much more!
Command in the screenshot:
twilio phone-numbers:buy:mobile --country-code DE.
I asked the team that worked on this new part of the Twilio infrastructure what their favorite CLI features are; let me tell you what they said!
Command discovery with auto-completion and
The Twilio command-line interface ships with hundreds of commands to navigate and control Twilio’s services. You must find a way to browse and know about all these commands.
That's why it’s recommended to enable auto-completion.
There are many ways to communicate with your friends and family. You might use good old SMS, Whatsapp, emails and of course phone calls. Recently, I came across a surprising new way of communication. It all started with my friend Michaela asking a question on Twitter.
Would it be possible to generate an RSS feed out of Twilio voice calls?
What she was looking for was a way to transform phone calls into an RSS feed referencing the recorded phone call. Why? Because she listens to many podcasts and sends very long voice messages to one of her friends via Whatsapp. As these messages usually don’t need a timely response, they both would prefer all the voice messages appear in their podcatchers rather than Whatsapp.
Let me introduce you to the idea of “PodBot - the surprise podcast from your friends”.
The idea is a follows: All you have …
Being online is the default state for many people these days. We all spend our time shopping, chatting, reading articles, and looking for information like directions. The web connects us with the whole world, but most certainly the web connects people. I myself have been using the web now for 20 years, and my relationship to it changed eight years ago when I became a web developer.
Developers connect people.
Developers help people.
Developers enable people.
Developers have the power to build the web for everyone, but that power needs to be used responsibly. What matters, in the end, is building things that help and enable people.
In this article, I want to share how HTTP headers can help you build better products for a better …
It’s exciting times to be a Frontend developer. With the rise of modern technologies such as serverless functions, Frontend engineers can do things that usually only backend engineers could do. This entails deploying scalable sites, sending emails, or creating HTTP endpoints. Due to the power of new service providers and countless APIs, building performant applications has become rather a game of connecting dots than building everything from the ground up.
You can see the final result on 8-bit-revolution.netlify.com. You can go there and tell me how much you love the good old 8-bit style via SMS. If you want to set-up a site similar to “8-bit revolution” you can have a look at the …
It’s a Sunday morning in Berlin, and I’m standing in front of a local co-working space. With me, there’s a man in his fifties. He apologizes for leaving the free workshop I helped organize earlier. We chat about the weather, life, and Berlin. It turns out he’s a Math professor at a very well known German university. He changes the topic and starts asking me a few questions.
Why am I doing this? And how did I get here?
The professor was right — why am I doing this?
A few years back, my day job was to sit in front of large audio mixers. I was responsible for the sound of German television shows. It was a lot of fun, but I reached the …