www.twilio.com Open in urlscan Pro
18.245.31.103  Public Scan

Submitted URL: http://login.twilio.com/
Effective URL: https://www.twilio.com/en-us
Submission: On May 07 via api from US — Scanned from DE

Form analysis 2 forms found in the DOM

<form action="" role="search" class="ais-SearchBox-form" novalidate=""><input class="ais-SearchBox-input" type="search" placeholder="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" maxlength="512"><button
    class="ais-SearchBox-submit" type="submit" title="Submit the search query."><svg class="ais-SearchBox-submitIcon" width="10" height="10" viewBox="0 0 40 40" aria-hidden="true">
      <path
        d="M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z">
      </path>
    </svg></button><button class="ais-SearchBox-reset" type="reset" title="Clear the search query." hidden=""><svg class="ais-SearchBox-resetIcon" viewBox="0 0 20 20" width="10" height="10" aria-hidden="true">
      <path d="M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"></path>
    </svg></button><span class="ais-SearchBox-loadingIndicator" hidden=""><svg class="ais-SearchBox-loadingIcon" width="16" height="16" viewBox="0 0 38 38" stroke="#444" aria-hidden="true">
      <g fill="none" fillrule="evenodd">
        <g transform="translate(1 1)" strokewidth="2">
          <circle strokeopacity=".5" cx="18" cy="18" r="18"></circle>
          <path d="M36 18c0-9.94-8.06-18-18-18">
            <animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="1s" repeatCount="indefinite"></animateTransform>
          </path>
        </g>
      </g>
    </svg></span></form>

<form action="" role="search" class="ais-SearchBox-form" novalidate=""><input class="ais-SearchBox-input" type="search" placeholder="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" maxlength="512"><button
    class="ais-SearchBox-submit" type="submit" title="Submit the search query."><svg class="ais-SearchBox-submitIcon" width="10" height="10" viewBox="0 0 40 40" aria-hidden="true">
      <path
        d="M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z">
      </path>
    </svg></button><button class="ais-SearchBox-reset" type="reset" title="Clear the search query." hidden=""><svg class="ais-SearchBox-resetIcon" viewBox="0 0 20 20" width="10" height="10" aria-hidden="true">
      <path d="M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"></path>
    </svg></button><span class="ais-SearchBox-loadingIndicator" hidden=""><svg class="ais-SearchBox-loadingIcon" width="16" height="16" viewBox="0 0 38 38" stroke="#444" aria-hidden="true">
      <g fill="none" fillrule="evenodd">
        <g transform="translate(1 1)" strokewidth="2">
          <circle strokeopacity=".5" cx="18" cy="18" r="18"></circle>
          <path d="M36 18c0-9.94-8.06-18-18-18">
            <animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="1s" repeatCount="indefinite"></animateTransform>
          </path>
        </g>
      </g>
    </svg></span></form>

Text Content

 * English
   
    * 日本語
    * Deutsch
    * English
    * Español (México)
    * Français
    * Português (Brasil)

 * Support
   
    * Help Center
    * Talk to Support
    * Training
   
      --------------------------------------------------------------------------------
   
    * Support Plans
    * Partner Solutions

 * Login
 * Console

Twilio logo
 * Products
   
   COMMUNICATIONS
   
   --------------------------------------------------------------------------------
   
    * Twilio Messaging logo
      Messaging
      
      Send and receive multichannel text and media messages in 180+ countries
      
      SMS WhatsApp Conversations
    * Voice
      
      Make, receive, and monitor calls around the world
      
      PTSN SIP Trunking SDK
    * Twilio Verify logo
      Verify
      
      Globally-managed multichannel 2FA and passwordless authentication
   
   --------------------------------------------------------------------------------
   
    * Twilio SendGrid Email API logo
      Email
      
      Deliver email messages reliably at scale with SendGrid
   
    * Twilio Lookup logo
      Lookup
      
      Know your customer and assess identity risk with real-time phone
      intelligence
   
    * Twilio Task Router logo
      Serverless
      
      Build, deploy, and run apps with Twilio’s serverless environment and
      visual builder
   
    * Twilio Phone Numbers logo
      Phone Numbers
      
      Access local, national, and toll-free phone numbers
      
      Toll-Free 10DLC Short Codes
   
   APPLICATIONS
   
   --------------------------------------------------------------------------------
   
    * Twilio Flex logo
      Twilio Flex
      
      Digital engagement center for customer service and sales
      
      Contact center
    * Twilio Engage logo
      Twilio Engage
      
      Create multi-channel campaigns with a unified data-first platform
   
    * Twilio Marketing Campaigns logo
      Marketing Campaigns
      
      Create and manage email marketing campaigns with SendGrid
   
   CUSTOMER DATA
   
   --------------------------------------------------------------------------------
   
    * Twilio Segment logo
      Twilio Segment ↗
      
      Unify your customer data with Segment CDP to power personalized engagement
   
    * Connections ↗
      
      Integrate web and mobile app data with a single API
      
      Reverse ETL
    * Cloud with an upload download symbol
      Protocols ↗
      
      Protect the integrity of your data
   
    * Unify ↗
      
      Unify customer data across every channel
      
      Profiles Sync
    * Journeys ↗
      
      Protect the integrity of your data
   
   See all products
 * Solutions
   
   USE CASES
   
   --------------------------------------------------------------------------------
   
    * Verification & identity
      
      Add user verification to protect against fraud.
   
    * Alerts & notifications
      
      Deliver notifications across text, email, voice.
      
      Appointment reminders
    * Marketing & promotions
      
      Create multichannel marketing campaigns.
      
      SMS Marketing
    * Contact Center
      
      Provide personalized, data-driven service.
   
    * IVR & self-service
      
      Set up a modern IVR with AI-enabled support.
      
      Call tracking
   
   TEAMS
   
   --------------------------------------------------------------------------------
   
    * Marketing
      
      Keep customers engaged on any channel
   
    * Product & Engineering
      
      Connect with target users reliably and securely
   
    * Customer Experience
      
      Deliver personalized sales and support experiences at scale
   
    * Developers
      
      Tutorials and docs to start building on Twilio
   
   INDUSTRIES
   
   --------------------------------------------------------------------------------
   
    * Financial Services
    * Healthcare
    * Hospitality
    * Public Sector
    * Real Estate
    * Retail
   
   BUSINESS SIZE
   
   --------------------------------------------------------------------------------
   
    * Enterprise
    * Startup
    * Nonprofit ↗
   
   PEOPLE SHAKING HANDS PARTNERS
   
   --------------------------------------------------------------------------------
   
    * Find a partner
      
      Work with a Twilio partner to buy or build the right solution
   
    * Partner with us
      
      Join our Partner Program to build or sell Twilio solutions to your
      customers.
   
   TWILIO PROGRAMMABLE MESSAGING LOGO TWILIO SERVICES
   
   --------------------------------------------------------------------------------
   
    * Professional Services
      
      Get technical and strategic advice from Twilio experts
   
    * Training
      
      Learn how to architect, build, and support your apps

 * Developers
   
   AN OPEN BOOK DOCUMENTATION
   
   --------------------------------------------------------------------------------
   
    * Twilio Flex
    * SMS
    * Voice
    * Email
    * WhatsApp API
    * Elastic SIP Trunking
    * Verify
    * Functions
    * Studio
    * Twilio CLI
   
   See all docs
   
   > TWO USERS IN A CIRCLE COMMUNITY
   
   --------------------------------------------------------------------------------
   
    * Ahoy!
      
      Get inspired by the latest from our developer community
   
    * Developer Blog
      
      Read tutorials, community projects, and product updates
   
    * Stack Overflow
      
      Ask the Twilio community for help
   
    * Champions
      
      Become a Twilio community Champion
   
    * Developer Events
      
      Join upcoming group events
   
   WRENCH AND SCREWDRIVER TOOLS & RESOURCES
   
   --------------------------------------------------------------------------------
   
    * CodeExchange
      
      Usable code samples for faster builds
   
    * Changelog
      
      See updates and additions to Twilio products
   
    * API Status
      
      Check real-time monitoring of APIs and all services

 * Why Twilio
   
   COMPANY
   
   --------------------------------------------------------------------------------
   
    * Why Twilio
      
      The trusted platform for data-driven customer engagement across any
      channel.
   
    * About Us
      
      Twilio company page
   
    * Twilio Magic
      
      Twilio core values
   
    * Diversity
      
      Diversity, equity, and inclusion
   
    * Investor Relations
      
      Information for Twilio investors
   
    * Press & Media
      
      Latest announcements and launches
   
   OUR PLATFORM
   
   --------------------------------------------------------------------------------
   
    * Customer Engagement Platform
      
      Build durable customer relationships with personalized, data-driven
      engagement
      
      Communication Customer Data
    * CustomerAI
      
      Combine real-time engagement data with AI to know your customers better.
   
    * Trust Center
      
      Twilio’s security, data privacy, regulatory compliance, and resiliency
      policies.
   
    * Super Network
      
      Simplify, strengthen and unite carrier communication networks using
      software.
   
   RESOURCES
   
   --------------------------------------------------------------------------------
   
    * Resource Center
      
      Browse our content library for more resources on how you can create
      lasting customer relationships
   
    * Customer Stories
      
      See what customers are building with Twilio
   
    * Blog
      
      Explore the latest product updates, technical tutorials, and best
      practices
   
    * State of Customer Engagement
      
      See the top trends shaping customer engagement in our annual report

 * Pricing
   
   COMMUNICATIONS
   
   --------------------------------------------------------------------------------
   
    * Twilio MessagingX logo
      Messaging
      SMS Whatsapp Conversations
    * Twilio SendGrid Email API logo
      Email ↗
    * Twilio Programmable Voice logo
      Voice
      Conferencing SIP trunking
   
   --------------------------------------------------------------------------------
   
    * Twilio Verify logo
      Verify
    * Twilio Lookup logo
      Lookup
    * Serverless
   
   APPLICATIONS
   
   --------------------------------------------------------------------------------
   
    * Twilio Flex logo
      Twilio Flex
    * Twilio Engage logo
      Twilio Segment ↗
    * Twilio Marketing Campaigns logo
      Marketing Campaigns
   
   See all pricing

Data is collected based on search terms. Privacy Policy

 * Contact sales
 * Start for free
 * Menu

Data is collected based on search terms. Privacy Policy

 * Products
   
   COMMUNICATIONS
   
   --------------------------------------------------------------------------------
   
    * Twilio Messaging logo
      Messaging
      
      Send and receive multichannel text and media messages in 180+ countries
      
      SMS WhatsApp Conversations
    * Voice
      
      Make, receive, and monitor calls around the world
      
      PTSN SIP Trunking SDK
    * Twilio Verify logo
      Verify
      
      Globally-managed multichannel 2FA and passwordless authentication
   
   --------------------------------------------------------------------------------
   
    * Twilio SendGrid Email API logo
      Email
      
      Deliver email messages reliably at scale with SendGrid
   
    * Twilio Lookup logo
      Lookup
      
      Know your customer and assess identity risk with real-time phone
      intelligence
   
    * Twilio Task Router logo
      Serverless
      
      Build, deploy, and run apps with Twilio’s serverless environment and
      visual builder
   
    * Twilio Phone Numbers logo
      Phone Numbers
      
      Access local, national, and toll-free phone numbers
      
      Toll-Free 10DLC Short Codes
   
   APPLICATIONS
   
   --------------------------------------------------------------------------------
   
    * Twilio Flex logo
      Twilio Flex
      
      Digital engagement center for customer service and sales
      
      Contact center
    * Twilio Engage logo
      Twilio Engage
      
      Create multi-channel campaigns with a unified data-first platform
   
    * Twilio Marketing Campaigns logo
      Marketing Campaigns
      
      Create and manage email marketing campaigns with SendGrid
   
   CUSTOMER DATA
   
   --------------------------------------------------------------------------------
   
    * Twilio Segment logo
      Twilio Segment ↗
      
      Unify your customer data with Segment CDP to power personalized engagement
   
    * Connections ↗
      
      Integrate web and mobile app data with a single API
      
      Reverse ETL
    * Cloud with an upload download symbol
      Protocols ↗
      
      Protect the integrity of your data
   
    * Unify ↗
      
      Unify customer data across every channel
      
      Profiles Sync
    * Journeys ↗
      
      Protect the integrity of your data
   
   See all products
 * Solutions
   
   USE CASES
   
   --------------------------------------------------------------------------------
   
    * Verification & identity
      
      Add user verification to protect against fraud.
   
    * Alerts & notifications
      
      Deliver notifications across text, email, voice.
      
      Appointment reminders
    * Marketing & promotions
      
      Create multichannel marketing campaigns.
      
      SMS Marketing
    * Contact Center
      
      Provide personalized, data-driven service.
   
    * IVR & self-service
      
      Set up a modern IVR with AI-enabled support.
      
      Call tracking
   
   TEAMS
   
   --------------------------------------------------------------------------------
   
    * Marketing
      
      Keep customers engaged on any channel
   
    * Product & Engineering
      
      Connect with target users reliably and securely
   
    * Customer Experience
      
      Deliver personalized sales and support experiences at scale
   
    * Developers
      
      Tutorials and docs to start building on Twilio
   
   INDUSTRIES
   
   --------------------------------------------------------------------------------
   
    * Financial Services
    * Healthcare
    * Hospitality
    * Public Sector
    * Real Estate
    * Retail
   
   BUSINESS SIZE
   
   --------------------------------------------------------------------------------
   
    * Enterprise
    * Startup
    * Nonprofit ↗
   
   PEOPLE SHAKING HANDS PARTNERS
   
   --------------------------------------------------------------------------------
   
    * Find a partner
      
      Work with a Twilio partner to buy or build the right solution
   
    * Partner with us
      
      Join our Partner Program to build or sell Twilio solutions to your
      customers.
   
   TWILIO PROGRAMMABLE MESSAGING LOGO TWILIO SERVICES
   
   --------------------------------------------------------------------------------
   
    * Professional Services
      
      Get technical and strategic advice from Twilio experts
   
    * Training
      
      Learn how to architect, build, and support your apps

 * Developers
   
   AN OPEN BOOK DOCUMENTATION
   
   --------------------------------------------------------------------------------
   
    * Twilio Flex
    * SMS
    * Voice
    * Email
    * WhatsApp API
    * Elastic SIP Trunking
    * Verify
    * Functions
    * Studio
    * Twilio CLI
   
   See all docs
   
   > TWO USERS IN A CIRCLE COMMUNITY
   
   --------------------------------------------------------------------------------
   
    * Ahoy!
      
      Get inspired by the latest from our developer community
   
    * Developer Blog
      
      Read tutorials, community projects, and product updates
   
    * Stack Overflow
      
      Ask the Twilio community for help
   
    * Champions
      
      Become a Twilio community Champion
   
    * Developer Events
      
      Join upcoming group events
   
   WRENCH AND SCREWDRIVER TOOLS & RESOURCES
   
   --------------------------------------------------------------------------------
   
    * CodeExchange
      
      Usable code samples for faster builds
   
    * Changelog
      
      See updates and additions to Twilio products
   
    * API Status
      
      Check real-time monitoring of APIs and all services

 * Why Twilio
   
   COMPANY
   
   --------------------------------------------------------------------------------
   
    * Why Twilio
      
      The trusted platform for data-driven customer engagement across any
      channel.
   
    * About Us
      
      Twilio company page
   
    * Twilio Magic
      
      Twilio core values
   
    * Diversity
      
      Diversity, equity, and inclusion
   
    * Investor Relations
      
      Information for Twilio investors
   
    * Press & Media
      
      Latest announcements and launches
   
   OUR PLATFORM
   
   --------------------------------------------------------------------------------
   
    * Customer Engagement Platform
      
      Build durable customer relationships with personalized, data-driven
      engagement
      
      Communication Customer Data
    * CustomerAI
      
      Combine real-time engagement data with AI to know your customers better.
   
    * Trust Center
      
      Twilio’s security, data privacy, regulatory compliance, and resiliency
      policies.
   
    * Super Network
      
      Simplify, strengthen and unite carrier communication networks using
      software.
   
   RESOURCES
   
   --------------------------------------------------------------------------------
   
    * Resource Center
      
      Browse our content library for more resources on how you can create
      lasting customer relationships
   
    * Customer Stories
      
      See what customers are building with Twilio
   
    * Blog
      
      Explore the latest product updates, technical tutorials, and best
      practices
   
    * State of Customer Engagement
      
      See the top trends shaping customer engagement in our annual report

 * Pricing
   
   COMMUNICATIONS
   
   --------------------------------------------------------------------------------
   
    * Twilio MessagingX logo
      Messaging
      SMS Whatsapp Conversations
    * Twilio SendGrid Email API logo
      Email ↗
    * Twilio Programmable Voice logo
      Voice
      Conferencing SIP trunking
   
   --------------------------------------------------------------------------------
   
    * Twilio Verify logo
      Verify
    * Twilio Lookup logo
      Lookup
    * Serverless
   
   APPLICATIONS
   
   --------------------------------------------------------------------------------
   
    * Twilio Flex logo
      Twilio Flex
    * Twilio Engage logo
      Twilio Segment ↗
    * Twilio Marketing Campaigns logo
      Marketing Campaigns
   
   See all pricing

 * Start for free
 * Login
 * Console
 * Contact sales



2024


STATE OF CUSTOMER ENGAGEMENT REPORT

From AI to individualization, check out the top trends shaping customer
engagement this year and beyond.

 

Access the report



GARTNER NAMES TWILIO A LEADER IN CPAAS


The 2023 Gartner® Magic Quadrant™ for CPaaS recognizes Twilio based on its
completeness of vision and ability to execute.

Read the report



100% GUARANTEED PROTECTION FROM SMS PUMPING FRAUD


Twilio Verify Fraud Guard has already saved customers $30M+.
Terms and conditions apply to guarantee.

Explore Verify Fraud Guard



68 BILLION MESSAGES SENT DURING CYBER WEEK 2023


Our customers processed 4 billion messages and over 64 billion emails. That's 8
messages or emails to every person in the world. Explore how you can experience
this growth and scale with Twilio.

Learn more An icon of a outbound link arrow



THE CUSTOMER
DATA PLATFORM
REPORT 2024

Get an in-depth look into the ways businesses are tracking customer data from
billions of interactions and transactions.

Read the report An icon of a outbound link arrow Contact sales
Read the report An icon of a outbound link arrow Contact sales


Developers Marketers Product Owners Sales & Support
Use cases


THE COMPLETE TOOLBOX FOR ANY CUSTOMER ENGAGEMENT USE CASE

ALERTS AND NOTIFICATIONS

Deliver important alerts and notifications reliably on the channels your
customers prefer.

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

100X faster delivery times with email notifications for ChatWork1

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

Send notifications

MARKETING AND PROMOTIONS

Expand your reach and drive ROI with cross-channel campaigns powered by
real-time data.

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

3X more bookings for Vacasa with personalized campaigns2

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

Reach customers

VERIFICATION AND IDENTITY

Add layers of account security with mobile identity signals and multi factor
user authentication.

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

1M+ verification messages sent to over 200 countries for Intuit3

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

Verify users

IVR AND SELF SERVICE

Improve customer satisfaction with intelligent IVRs that escalate to the right
agent for help.

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

12% increase in CSAT with new Twilio IVR for Chime4

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

Support customers


TWILIO WORKS FOR YOUR WHOLE TEAM

 * Browser with code terminal cursor
   
   DEVELOPERS
   
   Build your use case quickly with our up-to-date documentation, tutorials, and
   quickstarts.

 * Lightbulb idea
   
   PRODUCT OWNERS
   
   Create innovative customer experiences with reliable APIs and first-party
   data for personalization.

 * User symbol in a circle
   
   MARKETERS
   
   Increase your engagement and ROI with multichannel marketing campaigns
   powered by your customer data.

 * Customer service headset
   
   SALES AND SUPPORT
   
   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

WHATSAPP 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 Sign up
Python logo C# logo PHP logo Ruby logo Java logo JavaScript logo Curl logo

# 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.


NO CODING EXPERIENCE? NO PROBLEM.

You don’t have to be a developer to use Twilio. You can visually create, edit,
and manage communication workflows too.

Try Studio View Studio user guide



LAUNCH A PROOF OF CONCEPT QUICKLY

Test out your ideas for voice, messaging, and communication apps in a
drag-and-drop visual editor that’s easy to use.


BUILD IVRS FOR EVERY USER, ANY CHANNEL

Create dynamic IVRs that respond intelligently to customer inputs using AI and
flexible APIs.


START FOR FREE. PAY AS YOU GO.

Keep your costs low. With Serverless on Twilio, you pay as you go so you can
control costs and scale up as your use case grows.

Customer stories


POWERED BY TWILIO

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

Retail Healthcare Financial services Nonprofit

> “Having [Twilio] Segment not only helped us do the personalization work we’ve
> always wanted to do, but we can now improve on the effectiveness of our ad
> campaigns and create a better feedback loop.”
> 
> Christian Rocha Castillo Deputy Director Ecommerce/Digital Media, Domino’s
> Pizza

Dominos Pizza logo


DECREASED COST PER ACQUISITION BY 65%

With Twilio, Domino’s created complex, personalized audience journeys to
increase return on ad spend, revenue, and incremental orders across paid and
owned ecommerce channels.

Read the story

65%

decrease in customer acquisition cost

23%

incremental increase in Facebook conversions

700%

increase in return on Google ad spend

> “The combination of Twilio and Segment will empower us to provide customer
> magic moments and communication that’s highly relevant”
> 
> Christine Li Director of Marketing Technology, Allergan

Allergan logo


GREW THEIR DIRECT-TO-CONSUMER LOYALTY PROGRAM BY $400M

With Twilio, Allergan Aesthetics implemented new messaging tools and a
centralized source of customer data, driving an increase of 3M+ loyalty users.

Read the story

41%

reduction in cost per acquisition

3M+

more consumer loyalty users

40%

increase in sales through personalization

> “[Twilio] Verify greatly reduces our own support costs, over other
> verification methods.”
> 
> Suhas Joshi Engineering Manager, Stripe

Stripe logo


STRIPE ENSURES ITS MILLIONS OF USERS ARE EASILY AND RELIABLY VERIFIED WITH
TWILIO

With Twilio Verify, millions of businesses all over the globe can quickly and
easily verify their identity, log in to their Stripe accounts, and use one
complete platform for their payment needs.

Read the story

~70%

user verifications by Twilio Verify

6 POINT

improvement in login success rates

> “We were tired of monolithic systems that weren’t really flexible ...
> Volunteers really like [the new Twilio-powered alert system]. They can
> schedule themselves, do what they need to do, and communicate effortlessly
> with our dispatchers.”
> 
> Jim McGowan Director of Planning and Situational Awareness for the American
> Red Cross of Chicago & Northern Illinois

American Red Cross logo


STAFFED VOLUNTEERS 50% FASTER

With Twilio, The American Red Cross built a new alert system that allows
dispatchers to send messages to volunteers quickly, which saves precious minutes
for dispatchers and responders in the face of an emergency.

Read the story

1,200+

disasters responded to every year

500+

active volunteers activated more efficiently

20%

of the US population served by app


TWILIO COMBINES THE BEST IN COMMUNICATIONS AND CUSTOMER DATA

Twilio CPaaS
An icon of a right arrow

Reach your customers across any channel

Verify, activate, and connect with global customers over SMS, voice, email,
chat, and WhatsApp.
Twilio Segment CDP
An icon of a right arrow

Know your customers personally

Combine data across the customer lifecycle into a single, golden profile with
our CDP.
Twilio Flex
An icon of a right arrow

Unleash the potential of sales and support

Drive revenue and retention through a powerful digital engagement center.
Twilio CEP
An icon of a right arrow

Twilio Customer Engagement Platform

A powerful platform where customer data and customer communications meet.
Discover Twilio CEP
An icon of a right arrow

Get started today


START BUILDING WITH TWILIO FOR FREE

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

Start for free View pay-as-you-go pricing



WE CAN'T WAIT TO SEE WHAT YOU BUILD.


PRODUCTS

 * Twilio Engage
 * Flex
 * User Authentication & Identity
 * Lookup
 * Verify
 * Voice
 * Messaging
 * All products


SOLUTIONS

 * Customer Data Platform
 * SMS Marketing
 * Commerce Communications
 * Contact Center
 * All solutions


DOCS

 * Quickstarts
 * Tutorials
 * API Reference
 * Helper Libraries
 * API Status


COMPANY

 * About Twilio
 * Why Twilio
 * Customer Engagement Platform
 * Trusted Communications
 * Customers
 * Get Help
 * Contact Sales
 * Press & Media
 * Public Policy
 * Investor Relations
 * Events
 * Jobs at Twilio

 * Legal
 * Privacy
 * Twilio.org
 * Press & Media
 * Signal
 * Investors
 * Jobs

Copyright © 2024 Twilio Inc. All Rights Reserved.