Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free
  • By Niels Swimberghe
    Proxy your phone number with Twilio Programmable Voice and Twilio Functions Header

    Using Twilio's Super Network, you can quickly buy phone numbers from around the world. You can even specify a specific area code to buy a phone number that is local to a certain state, territory, or region.

    With Twilio Voice, you can quickly integrate voice communication into your applications. For the application in this tutorial, you'll use Twilio phone numbers, Twilio Voice, and Twilio Functions to create a proxy phone number!

    What do I mean by a proxy phone number? Before explaining that, I will discuss a similar concept. In web development, there's a concept of "reverse proxies". When you send HTTP requests to a reverse proxy, the reverse proxy forwards the traffic to a web server on a private network. This way the web server still serves a website but isn't exposed directly to the internet adding benefits like security, performance enhancements, and much more.

    Similarly, …

    Read More
  • By Niels Swimberghe
    Better Twilio Authentication with Twilio API Keys Better Twilio Authentication in C# with Twilio API Keys.png

    Twilio generates an Account String Identifier (SID) and an Auth token when you create a Twilio account. This key is for all intents and purposes a master key that can be used to perform any function available in the Twilio API.

    Anytime you hand over the Account SID and Auth token to a device or a colleague, you increase the risk of that master key becoming compromised. Luckily Twilio provides capabilities to minimize this risk. This article covers:

    • API Credentials
    • Subaccounts
    • API Keys

    In short, this tutorial will help you to stop giving away your Twilio Master Key and start using API Keys.

    API Credentials

    When you create a new account or subaccount, Twilio generates an Account SID and Auth token for that account. You can find these API credentials on the dashboard page of your account:

    Screenshot of Twilio's account dashboard where the account SID and the auth token is pointed out by arrows.

    These credentials are frequently used to communicate with Twilio via the CLI, …

    Read More
  • By Niels Swimberghe
    Making Phone Calls from Blazor WebAssembly with Twilio Voice blazor-twilio-voice (1).png

    Mobile phones are ubiquitous and convenient but there are times when it’s more practical to be able to receive and place phone calls from a computer. If you’ve called customer service about the tickets you ordered, or anything else, it’s likely the rep you spoke to took your call with a mouse click.

    Using Twilio Voice you can add the ability to make and receive phone calls from your own ASP.NET web applications. Twilio’s helper library for JavaScript makes it easy to integrate client functionality into web front ends built with Blazor WebAssembly, and the Twilio NuGet packages provide you with convenient interfaces to Twilio’s APIs for server-side tasks.

    Blazor WebAssembly lets you build your application front end in C# and Razor, so you can focus the client-side JavaScript on functionality that requires JavaScript for implementation.

    JavaScript interoperability (JS interop) is a feature of Blazor that makes it easy to …

    Read More
  • By Niels Swimberghe
    Building Real-Time Applications with Blazor Server and Firestore blazor-server-firestore.png

    Blazor is a framework for building interactive client-side user interfaces for web applications using .NET. Using Blazor, .NET developers can build stylish and performant web interfaces using C# and ASP.NET Core instead of JavaScript. [Pause for applause.]

    Blazor Server provides support for hosting Razor components on a server in an ASP.NET Core app. At runtime, the Blazor Server app sends UI events from the browser to the server and applies UI updates sent from the server to the rendered component.

    Blazor Server is built on SignalR, which is built on websockets. Among things, websockets enable Blazor Server to push changes from the server to the browser at any time. You can build real time UIs when you combine this with a real-time database such as Google Firestore.

    Firestore is Google Firebase's real-time database offering on the Google Cloud Platform (GCP). Google provides .NET libraries for interacting with …

    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.