How to build: Masked Phone Numbers
Connect buyers and sellers through an intermediate Twilio phone number to keep personal numbers private.
PROVISION TWILIO PHONE NUMBERS
Purchase a pool of phone numbers from the Twilio self-service portal or the Twilio phone number API. You can search for phone numbers with a specific country and area code.
MAP TWILIO PHONE NUMBERS TO USERS
Implement the mapping between the provisioned Twilio phone numbers and your users. In this example, xxx-xxxx is associated to Arya and Bran's personal phone numbers for the duration of their business relationship.
ARYA CALLS TWILIO NUMBER XXX-XXXX
When Arya calls xxx-xxxx, Twilio receives the call and makes an HTTP request to your web server.
YOUR WEB SERVER RETURNS BRAN'S PRIVATE NUMBER
Your web server looks up the private phone number of Bran associated to xxx-xxxx and returns a TwiML <Dial> to Bran's number.
THE CALL IS CONNECTED
Twilio connects the call between Arya and Bran. Bran sees the call coming in from xxx-xxxx.
Experience a 99.95% uptime SLA made possible with automated failover and zero-maintenance windows.
Operate at scale
Extend the same app you write once to new markets with configurable features for localization and compliance.
Use the same platform you know for voice, SMS, video, chat, two-factor authentication, and more.
Get to market faster with pay-as-you-go pricing, free support, and the freedom to scale up or down without contracts.