Thursday, 9 January, 2020 UTC


Summary

Today, we’re excited to share with you a new way to build Twilio apps using CodeExchange. It’s a searchable directory of customizable code samples, written by developers around the world, vetted by Twilio experts, and ready for you to use.
How CodeExchange Works
CodeExchange makes it easy to get started with any app.
Start by heading over to the Twilio CodeExchange page, and you'll be presented with a variety of code templates that span many use cases. You can either browse the directory of existing templates or, if you already have a use case in mind, you can search for that specific use case. Once you find the use case of your choice, pick a programming language you are comfortable with from the dropdown.
If you'd like to learn more about a particular template, click on the "Learn more" link for the use case of your choice, and you'll be presented with a more detailed description and download instructions. From there, you can either directly download the code sample as a ZIP file or head over to GitHub to view the source code there.
Last, once you downloaded the code, follow the instructions in the project's README.md file to start the application. At this point, you can explore the app, or start making modifications to the code to fit your needs.
What is Available Today
Today, we’re launching with 12 apps that span five languages (PHP, Python, Javascript, Java, .NET). You’ll see sample apps for use cases like:
  • SMS Notifications
  • Omnichannel Two Factor Authentication
  • Instant Lead Alerts
  • Voice-Powered IVR Bot
  • Appointment Reminders
  • Browser-based phone calls
If you don’t see what you need, request the sample code you want. We’ll be adding apps regularly, and we'll pay close attention to your requests. You can also request an existing app in a new language.
Recap: Twilio’s New Searchable Sample Code Database
For paragraph-averse folks out there, here’s the quick summary:
With CodeExchange, you can:
  • Search for code samples that match your project
  • Request a new one if you don’t see what you need
  • Download the file or view on GitHub
  • Check out the detailed readme to learn more about how to get up and running
  • Edit and customize the code to fit your specific use case
We can’t wait to see what you build using CodeExchange code samples. Go ahead and get started by checking it out now.
Laura Schaffer is a Senior Product Manager on Twilio's Growth team. She currently manages growth products and platforms, including Twilio’s Experimentation Platform, Promo Platform, Referral Program, and now Twilio’s CodeExchange. She can be reached at laura [at] twilio.com.