Proxy Public Beta is currently closed for new customers. Please consider using Twilio Conversations and Programmable Voice directly if you are building your masking application.
Note that this does not have any impact on Twilio Flex customers.
Twilio's Proxy API is currently available as a Public Beta product. Some features are not yet implemented and others may be changed before the product is declared as Generally Available.
Public Beta products are not covered by a Twilio SLA.
The auto-create functionality of the Out Of Session callback webhook and the Reserved functionality for the Phone Numbers can be used in conjunction to implement a solution for the special - but rather frequent - use cases where businesses need to display a Phone Number forwarding all incoming calls/texts to a specific person and don't know who will contact it. In the typical Proxy scenarios, you know in advance who both the Participants of your Proxy Session will be. In this case, you only have half of the needed information; you have the destination endpoint, but you still don't know who will be the customer calling in.
Let's use the example below to show how the auto-create functionality of the Out Of Session callback webhook and the Reserved functionality for the Phone Numbers.
Let's assume there is a site called ShoppingPlace.com where people can post items for sale and other people can purchase them. One feature that the seller wants is for the two parties to be able to correspond by text or call without giving out personal Phone Numbers. At the same time, sellers might want their customers to always use the same Phone Number to contact them. Here's what ShoppingPlace.com should do.
POST
request, will return an auto-create JSON response payload to tell Proxy what to do.1{2"uniqueName": "autoCreatedSession23423",3"ttl": 3360,4"mode": "voice-and-message",5"participantIdentifier": "+14152345555"6}
This tells Proxy to:
Note that mapping (recorded into ShoppingPlace.com database) between Tom and the reserved Proxy Phone Number +1 415-111-1111 doesn't mean that Tom's Proxy Identifier is +1 415-111-1111.
Now that Proxy has created the Session with the desired Participants, it can forward the message or call just as it would have if the Session had been pre-created. Now that there is a Session with the correct Participants, the buyer and seller can go on corresponding via masked communication.