🏳️Communication APIs for SMS, Voice, Email & Authentication | Twilio

Website favicontwilio.com

Connect with customers on their preferred channels—anywhere in the world. Quickly integrate powerful communication APIs to start building solutions for SMS and WhatsApp messaging, voice, and email.

This website uses cookies and similar technologies to collect information you provide and information about your interactions with our sites to improve your experience, analyze performance and traffic on our website and assist our marketing efforts and customer service. We may share this information with our third-party partners. You can change your cookie preferences here. By continuing to browse, you agree to our use of these tools in accordance with our [Privacy Notice](https://www.twilio.com/en-us/legal/privacy) and you agree to the terms of our [Terms of Service](https://www.twilio.com/en-us/legal/tos). 

OK, got it Adjust preferences [Read our Cookie Policy](https://www.twilio.com/en-us/legal/privacy#cookies-and-tracking-technologies)

Finally, personalized engagement made easy

==========================================

Drive better ROI from every customer conversation. Twilio’s all-in-one platform combines powerful channel APIs with AI and data, so you can serve every customer uniquely.

[Start for free](/en-us/try-twilio) [See what's possible](/en-us/customer-engagement-platform)

Free trial  |  No credit card required  |  Pay-as-you-go pricing

**RCS Business Messaging**

Get RCS on Twilio Messaging—no code changes required

====================================================

Establish trust and capture attention with RCS from Twilio Messaging, without additional APIs to integrate and configure.

[Get started](/en-us/messaging/channels/rcs)

Twilio named a CPaaS Leader in 2025 IDC MarketScape

===================================================

See why Twilio was named a leader in the Communication Platform as a Service (CPaaS) software space for the fifth time1.

[Download the excerpt](/en-us/lp/idc-marketscape-cpaas-2025)

The complete toolbox for customer engagement

--------------------------------------------

* * *

**389M** fraud attempts blocked2, saving customers $45 million3

* * *

[Verify users](/en-us/user-authentication-identity)

* * *

**50B+** voice minutes handled across the globe in 20234  

* * *

[Improve calls](/en-us/voice)

* * *

**167B+** messages sent or received in 20234

* * *

[Send messages](/en-us/messaging)

* * *

**103M+** chat, SMS, and email messages handled in 20234

* * *

[Engage customers](/en-us/flex)

Twilio works for your whole team

--------------------------------

*   Browser with code terminal cursor

    ##### [Developers](/en-us/ahoy)

    Build your use case quickly with our up-to-date documentation, tutorials, and quickstarts.

*   Lightbulb idea

    ##### [Product Owners](/en-us/solutions/product-and-engineering)

    Create innovative customer experiences with reliable APIs and first-party data for personalization.

*   User symbol in a circle

    ##### [Marketers](/en-us/solutions/marketing)

    Increase your engagement and ROI with multichannel marketing campaigns powered by your customer data.

*   Customer service headset

    ##### [Sales and Support](/en-us/solutions/customer-experience)

    Talk to customers on the channel they prefer, using the full context of their profiles to personalize interactions.

Join the 300,000+ brands that use Twilio to connect with their customers

Toyota Connected logo

American Red Cross logo

IBM logo

AirBnb logo

Loved by 10+ million developers

-------------------------------

Send your first

---------------

text message

----------------

in a matter of minutes

----------------------

Sign up for a free Twilio account and grab one of our seven official server-side SDKs to get started. Send your first text message, phone call, or email in minutes and when you’re ready to launch your app, upgrade to a pay-as-you-go plan.

[View the docs](https://www.twilio.com/docs) [Sign up](https://www.twilio.com/try-twilio)

    # Download the helper library from https://www.twilio.com/docs/python/install

    import os

    from twilio.rest import Client

    # Find your Account SID and Auth Token at twilio.com/console

    # and set the environment variables. See http://twil.io/secure

    account_sid = os.environ['TWILIO_ACCOUNT_SID']

    auth_token = os.environ['TWILIO_AUTH_TOKEN']

    client = Client(account_sid, auth_token)

    message = client.messages.create(

                                  body='Hi there',

                                  from_='+15017122661',

                                  to='+15558675310'

                              )

    print(message.sid)

    // Install the C# / .NET helper library from twilio.com/docs/csharp/install

    using System;

    using Twilio;

    using Twilio.Rest.Api.V2010.Account;

    class Program

    {

        static void Main(string[] args)

        {

            // Find your Account SID and Auth Token at twilio.com/console

            // and set the environment variables. See http://twil.io/secure

            string accountSid = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");

            string authToken = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");

            TwilioClient.Init(accountSid, authToken);

            var message = MessageResource.Create(

                body: "Hi there",

                from: new Twilio.Types.PhoneNumber("+15017122661"),

                to: new Twilio.Types.PhoneNumber("+15558675310")

            );

            Console.WriteLine(message.Sid);

        }

    }

    <?php

    // Update the path below to your autoload.php,

    // see https://getcomposer.org/doc/01-basic-usage.md

    require_once '/path/to/vendor/autoload.php';

    use Twilio\Rest\Client;

    // Find your Account SID and Auth Token at twilio.com/console

    // and set the environment variables. See http://twil.io/secure

    $sid = getenv("TWILIO_ACCOUNT_SID");

    $token = getenv("TWILIO_AUTH_TOKEN");

    $twilio = new Client($sid, $token);

    $message = $twilio->messages

                      ->create("+15558675310", // to

                               ["body" => "Hi there", "from" => "+15017122661"]

                      );

    print($message->sid);

    # Download the helper library from https://www.twilio.com/docs/ruby/install

    require 'rubygems'

    require 'twilio-ruby'

    # Find your Account SID and Auth Token at twilio.com/console

    # and set the environment variables. See http://twil.io/secure

    account_sid = ENV['TWILIO_ACCOUNT_SID']

    auth_token = ENV['TWILIO_AUTH_TOKEN']

    @client = Twilio::REST::Client.new(account_sid, auth_token)

    message = @client.messages.create(

                                 body: 'Hi there',

                                 from: '+15017122661',

                                 to: '+15558675310'

                               )

    puts message.sid

    // Install the Java helper library from twilio.com/docs/java/install

    import com.twilio.Twilio;

    import com.twilio.rest.api.v2010.account.Message;

    import com.twilio.type.PhoneNumber;

    public class Example {

        // Find your Account SID and Auth Token at twilio.com/console

        // and set the environment variables. See http://twil.io/secure

        public static final String ACCOUNT_SID = System.getenv("TWILIO_ACCOUNT_SID");

        public static final String AUTH_TOKEN = System.getenv("TWILIO_AUTH_TOKEN");

        public static void main(String[] args) {

            Twilio.init(ACCOUNT_SID, AUTH_TOKEN);

            Message message = Message.creator(

                    new com.twilio.type.PhoneNumber("+15558675310"),

                    new com.twilio.type.PhoneNumber("+15017122661"),

                    "Hi there")

                .create();

            System.out.println(message.getSid());

        }

    }

    // Download the helper library from https://www.twilio.com/docs/node/install

    // Find your Account SID and Auth Token at twilio.com/console

    // and set the environment variables. See http://twil.io/secure

    const accountSid = process.env.TWILIO_ACCOUNT_SID;

    const authToken = process.env.TWILIO_AUTH_TOKEN;

    const client = require('twilio')(accountSid, authToken);

    client.messages

          .create({body: 'Hi there', from: '+15017122661', to: '+15558675310'})

          .then(message => console.log(message.sid));

    curl -X POST "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages.json" \

    --data-urlencode "Body=Hi there" \

    --data-urlencode "From=+15017122661" \

    --data-urlencode "To=+15558675310" \

    -u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

Python logo

C# logo

PHP logo

Ruby logo

Java logo

JavaScript logo

Curl logo

### Official SDKs

Build quickly and confidently with our SDKs for Node.js, Python, C#, Java, PHP, Ruby, and Go.

### Twilio Functions

Bring ideas to life without having to host your own code by deploying with Twilio Functions.

### 99.95%+ API uptime

Reliable availability you can trust to power your app’s most important features.

Prefer not to code? No problem.

-------------------------------

Work with one of our trusted partners to get coding support or explore a pre-built solution.

[Find a partner](/en-us/partners)

Customer stories

Built with Twilio

-----------------

Explore what the world’s leading businesses, from startups to global enterprises, have achieved with the Twilio Customer Engagement Platform.

> “SendGrid streamlines our processes with its custom mailbox relay, deliverability optimization with automated retries in response to mailbox error codes, and connection management.”

Shopify logo

### Helps millions of merchants build customer relationships

Using Twilio SendGrid, Shopify built an email marketing tool that allows merchants to easily communicate with their customers, send important alerts about payments, plus shipping or marketing emails.

[Read the story](https://customers.twilio.com/en-us/shopify-2)

1.7

million merchants

99.5%

average delivery rate

91.3%

inbox placement rate

> “We selected Twilio because we wanted a cost-effective communication solution that offers seamless integration and flexibility across applications, from SMS to voice messaging.”

### Creates the best place for care anywhere with Twilio

With Twilio Messaging and Voice, Cleveland Clinic provides an affordable, scalable way to build a user-friendly communication system that prioritizes patient care and personalized experiences.

[Read the story](https://customers.twilio.com/en-us/cleveland-clinic)

1.8M

messages sent monthly

97%

outbound SMS delivery rate

10K

inbound messages a month

> “There had to be a better way to go live in 200+ countries in much less time with less resources!”

Intuit logo

### Powering prosperity around the world with the help of Twilio Verify

Intuit confidently provides its customers with a secure and efficient authentication experience, ensuring they have seamless access to financial services whenever and wherever they need them.

[Read the story](https://customers.twilio.com/en-us/intuit)

94%

deliverability across the globe

200+

countries deployed in 3 months

1M+

SMS sent across the globe

> “Our goal isn’t to reduce the call volume—it’s to increase our ability to answer the call volume. We want to be able to talk to everyone who wants to talk to us, and we need centralized, efficient, and seamless technology to do that.”

United Way logo

### Expanding a nationwide network for social services

The 211 program supports communities across the United States, handling calls and providing key information about social services, emergency support, and more with Twilio Flex.

[Read the story](https://customers.twilio.com/en-us/united-way)

100%

coverage of local 211 lines

3,000

total 211 agents onboarded

11M+

calls a year from community members

It’s never been easier to personalize your engagement

-----------------------------------------------------

[

Contextual data

An icon of a right arrow

Create impactful moments with data

Deepen every customer interaction with data and AI that gives you real-time context of their preferences, history, and behavior.

](/content/twilio-com/global/en-us/customer-data-platform)

[

Communication channels

An icon of a right arrow

Deliver on the right channel every time

We support every major communication channel so you can reach your customers where they are, in the way they prefer.

](/content/twilio-com/global/en-us/cpaas)

[

Trusted AI

An icon of a right arrow

Scale with intelligent solutions

We’ve built AI into every layer to remove complexity, help you automate tasks, and protect your business and customers at any scale.

](/content/twilio-com/global/en-us/products/beta)

[

Twilio CEP

An icon of a right arrow

Twilio Customer Engagement Platform

One platform to deliver personalized experiences at scale across every key use case.

Discover Twilio CEP

An icon of a right arrow

](/content/twilio-com/global/en-us/customer-engagement-platform)

Get started today

Start building with Twilio for free

-----------------------------------

Sign up and start building your ideal customer engagement experience today.

[Start for free](https://www.twilio.com/try-twilio) [View pay-as-you-go pricing](/en-us/pricing)

* * *

1\. "IDC MarketScape: Worldwide Communications Platform as a Service 2025 Vendor Assessment", February 2025, Doc. #US52039625

IDC MarketScape vendor analysis model is designed to provide an overview of the competitive fitness of technology and suppliers in a given market. The research methodology utilizes a rigorous scoring methodology based on both qualitative and quantitative criteria that results in a single graphical illustration of each supplier’s position within a given market. The Capabilities score measures supplier product, go-to-market and business execution in the short-term. The Strategy score measures alignment of supplier strategies with customer requirements in a 3-5-year timeframe. Supplier market share is represented by the size of the icons.

2\. 100X faster delivery times for email notifications: [See the Chatwork customer story](https://customers.twilio.com/en-us/chatwork)

3\. 3X more bookings with personalized campaigns: [See the Vacasa customer story](https://customers.twilio.com/en-us/vacasa)

4\. 95% decrease in time spent on fraud prevention labor: [See Forrester Consulting’s Total Economic Impact Analysis (TEI) for Twilio Verify report](/en-us/lp/forrester-tei-verify-2024)