Twilio Serverless

Build and deploy serverless apps 
in minutes

No servers, no infrastructure—just fast, easy app development with Serverless on Twilio. Pay as you go and scale effortlessly.

Woman in yellow sweater using a laptop with a Deploy App button and confirmed deployment status

How our Twilio Serverless works

Flow chart showing a user rating a session with a 9 for experience rate

Quickly stand up a proof of concept, simplify complex integrations, and create robust APIs with our serverless environment and visual workflow builder.

  • Move from monolithic architecture to event-driven microservices.

  • Easily create integrations between Twilio and third-party systems.

  • Build business logic to execute and host your code for optimal performance.

  • Automatically scale from zero to peak usage and only pay for what you use.

Serverless use cases

Unlock endless possibilities when you go serverless. Discover our most popular applications.

 

Deploy an SMS app in five minutes

Launch and test an SMS auto-response application with Twilio Functions.  With just a few lines of code, you’ll see your phone light up with “Hello World” from your Twilio phone number.

“You don’t have to comment out lines of code to explain what a function is doing. The Twilio code is really clear and easily configured.”

Nate Grief Product Owner, VictorOps

Explore no-code, low-code, and full-code options

Build apps in Twilio’s serverless environment with the right solution for your use case.

 

  • Studio
    Use drag-and-drop widgets to define communication tasks with no code. Quickly build call center workflows, call forwarders, SMS surveys, and more.
    Try Studio
  • Quick Deploy
    Create a proof of concept hosted on Twilio's platform in minutes—no code required. Modify common functionality through configuration variables or the Functions source code.
    See Quick Deploy options
Diagram illustrating the process of handling incoming messages, calls, and API requests with split and reply stages.

Serverless features

Discovery and tooling to help you build.

 

  • Liquid Template Language

    Transform and filter your data with our Liquid Template Language to help integrate your data.

  • Twilio CodeExchange

    Save time by deploying Twilio applications straight from the command line. Manage Twilio resources from your terminal or command prompt.

  • Twilio CLI

    Save time by deploying Twilio applications straight from the command line. Manage Twilio resources from your terminal or command prompt.

  • Serverless Toolkit

    Directly integrate your Functions and Assets deployments into your CI/CD and DevOps flows.

  • Serverless API

    Fully customize the provisioning and deployment of Functions and Assets.

  • Twilio Dev Phone

    Test your Twilio apps with the Twilio Dev Phone when you don’t have easy, reliable access to SMS and calling capabilities.

Kickstart your Serverless application

Discover quickstart guides, blog articles, documentation, and more to help you get started with your serverless development.

Send an SMS from Twilio Functions

exports.handler = async function(context, event, callback) {
  const client = context.getTwilioClient();
  const message = await client.messages.create({
    to: '+15558675310',
    from: '+15017122661',
    body: 'Hi there!'
  });
  callback(null, message.sid);
};

Serverless pricing to match your business needs

Pay-as-you-go pricing makes it easy for you to prototype, build, deploy, operate, and scale your serverless applications. No commitments necessary.

Man with short hair talking on the phone and smiling