Menu

Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Build Masked Phone Numbers

Allow your customers or mobile employees to call or text each other while masking their phone numbers. By implementing masked phone numbers, you can track all conversation metadata in your system while maintaining your customers' privacy. Twilio customers like Uber & Airbnb use masked phone numbers to create a frictionless conversation.

In this tutorial, we'll learn how a company like Airbnb might implement masked phone numbers. Our sample application is modeled after the amazing rental experience created by Airbnb, but with more Klingons.

Select your language and framework of choice below to get to the source code in your language and follow step-by-step instructions to learn how to build masked communications yourself.

Host users can offer rental properties which other guest users can reserve. The guest and the host can then anonymously communicate via a disposable Twilio phone number created just for a reservation. In this tutorial, we'll show you the key bits of code to make this work.

Happy building!

Kat King

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.

Loading Code Sample...