Rate this page:

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 Mica Swyers Carolina Lopez
Rate this page:

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 by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Loading Code Sample...

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!