With Twilio Proxy
Create disguised phone number experiences instantly
Proxy API handles phone number management, session control, and bridging between calls and texts so you don’t have to.
  • Phone number management

    Handling phone number allocation on a temporary basis is a significant engineering challenge. Proxy removes the need to think about how numbers get allocated to conversations.

  • Intelligent concurrency

    Use the same number for more than one session, so fewer numbers are needed. The API ensures that there are no collisions or merging of conversations due to the re-use of numbers.

  • Conversation management

    Control the length of time two individuals can communicate, tie a session to your operational systems, and maintain full record of a completed session.

  • Content moderation

    Monitor the content of text conversations between two individuals by configuring rules for filtering and redacting messages. Prevent profanity or sharing of sensitive information like phone numbers and credit cards.

We reduced our code for managing masked phone numbers from 2000 lines to 200 using Proxy.

Proxy API for Masked Phone Numbers
# A session is an instance of two people communicating
session = ProxyService.sessions.create(
    ttl=3600  # This session should last 1 hour

# Add our first participant
participant_a = session.participants.create(

# Add our second participant
participant_b = session.participants.create(

# That’s it! Our proxied conversation, complete with masked phone numbers, has been created.
# Each participant will now have a Twilio proxy number assigned.
The Twilio advantage
  • Communicate reliably

    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.

  • Many channels

    Use the same platform you know for voice, SMS, video, chat, two-factor authentication, and more.

  • No shenanigans

    Get to market faster with pay-as-you-go pricing, free support, and the freedom to scale up or down without contracts.