Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free

Messaging posts

  • By Niels Swimberghe
    How to send SMS with C# .NET and Azure Functions using the Twilio Output Binding How to send SMS with C# .NET & Azure Functions using Twilio Output Binding

    Azure Functions has its own opinionated way of developing applications based on triggers, input bindings and output bindings. Azure supports two Twilio products using output bindings: Twilio Programmable Messaging for sending SMS and Twilio SendGrid for sending emails.
    In this tutorial, you'll learn how to send text messages with C# .NET using Azure Functions and Twilio binding.

    Prerequisites

    You will need these items to follow along:

    • OS that supports .NET (Windows/Mac/Linux)
    • .NET 6 SDK
    • Azure Functions Core Tools
    • A code editor or IDE (Recommended: VS Code with C# plugin, Visual Studio, or JetBrains Rider)
    • A free Twilio account (If you register here, you'll receive $10 in Twilio credit when you upgrade to a paid account!)

    Get started with Twilio

    You will need to set up a couple of things with Twilio before developing the Azure function:

    • If you don't already have a Twilio phone number, go and buy a …
    Read More
  • By Nathalia Velez Ryan
    How to Send SMS Online sms online

    Take a quick glance at your text message inbox, and you’ll get an idea of how useful Short Message Service (SMS) is for businesses. You probably have appointment reminders, delivery notifications, two-factor authentication (2FA), or marketing messages. These are just some of the ways businesses send SMS online.

    Among the many advantages, text messages have a high open rate, are cost-effective, and are permission-based, which makes them an effective way to engage your customers.

    If you’re ready to start reaping the benefits of this tool, you may be wondering how exactly to send SMS to your customers. The answer isn’t to pick up your phone and start texting them directly, but rather to use an SMS service. These services enable you to send one-way communications and even engage in multiparty conversations.

    This post will walk you through how to send and receive SMS messages online.

    Choose your SMS …

    Read More
  • By Luís Leão
    Como usar os botões do WhatsApp para experiências do cliente mais engajadas Como usar os botões do WhatsApp para experiências do cliente mais engajadas

    Com mais de 2,2 bilhões de usuários por mês, o WhatsApp é um poderoso canal para o engajamento do cliente por conversas. Além da alta capacidade de entrega, alta utilização dos clientes e altas taxas de engajamento, a API do WhatsApp Business oferece recursos de mensagens avançados que não são possíveis realizar com SMS tradicional.

    Botões de respostas rápidas e call-to-action, agora disponíveis no Console Twilio, permitem que as empresas simplifiquem as respostas dos clientes e as orientem por meio de interações de conversação. Os botões de resposta rápida permitem que as empresas definam aqueles que seus usuários podem tocar para responder. Em vez de exigir um tipo de cliente "C" ou "1", ou texto sem formatação, você define a resposta esperada do cliente em um modelo de mensagem interativa. Quando um botão de resposta rápida é pressionado, uma mensagem contendo o texto do botão é enviada na conversa, …

    Read More
  • By Yong Hui Yow
    Milestones For Onboarding your SMS Project to Twilio Article header

    Whether you are a small or medium-sized business, a large enterprise, or an ISV, Twilio is able to support your SMS needs. Navigating the setup, requirements, and compliance can seem daunting at first so the Twilio Customer Onboarding team is here to help you through the process.

    In this guide, we will share the milestones that we track while supporting a customer to build and deploy a messaging product. By the end of this article, you’ll have a checklist of actions that will help you launch your messaging project successfully.

    Defining the success of a launch

    Your use case and business goals will be key drivers in what success looks like and therefore each project will be unique. Overall, we define success to mean that you can:

    • Send at your desired volume.
    • Reach your target audience.
    • Achieve optimal throughput with minimal filtering.
    • Use our messaging product and its features …
    Read More
  • By Matan Gal
    How to Use Validity Period for Promotional and Verification Use Cases Validity Period FAQ Header

    Here at Twilio, we've received a number of questions from our messaging customers around Validity Period as they are preparing for Black Friday and Cyber Monday. In this post, I will address some of the more common questions focusing on how to approach Validity Period for promotional and verification use cases.

    What is Validity Period?

    Validity Period refers to the number of seconds that messages you send will remain in Twilio’s platform before becoming stale (meaning the content of the message is no longer relevant). If the time required to send the message exceeds the Validity Period, Twilio fails the message, and sends a request to your status callback URL to notify your application of the failure.

    How does Validity Period affect message requests?

    Messages are checked for validity when they are dequeued to be sent to a carrier. Once the message is dequeued Twilio checks when the message was …

    Read More
  • By Vanessa Thompson
    What you Missed from Messaging at SIGNAL 2021 MESSAGING FOR A NEW ERA (1).png

    This blog post contains spoilers announced at SIGNAL, Twilio’s Developer and Customer conference. Watch the session which occured SIGNAL TV on Thursday October 21st, 10:00 PM Pacific or continue reading to hear what developer tools and features were announced.

    Yesterday, we announced Twilio MessagingX, one platform for the next decade of business messaging. We also shipped a ton of new features to power messaging in a trusted ecosystem with more ways to reach consumers than ever. Here’s the rundown of the biggest ships to help you reach more consumers with messaging.

    Engagement in a trusted ecosystem

    From the very beginning, our goal was to deal with the complexity of the carrier and telecommunications ecosystem head-on so that developers could do what they do best – innovate. There is no bigger shift in the US carrier ecosystem than the shift to the US A2P 10DLC routes – and we approached …

    Read More
  • By Daizen Ikehara
    Event Streamsを用いてTwilioのログをNode.jsとExpressサーバーアプリケーションで処理する方法 event-streams-nodejs-express-jp

    Event Streamsは執筆時点でPublic Betaとなるため、今後設定方法や仕様が変更される可能性があります。

    Twilioは音声通話、SMS、ビデオなどさまざまなコミュニケーションAPIを提供しています。それぞれのAPIの実行結果はstatusCallback、あるいは類似したプロパティにコールバックURLを設定することでアプリケーション側にログを通知し、分析やエラー処理を行えるようになっています。

    例 - Programmable SMS API(statusCallbackで検索)

    このコールバックは簡単に利用できますが、複数のTwilioサービスを利用する場合はサービスごとあるいはリクエストごとに指定する必要があります。さらに、ログのフォーマットもサービスごとに異なる場合があります。

    Event Streamsは各サービスのログをCloudEventsの仕様に沿って正規化、集約し、指定した宛先に配信します。そのためサービスごとに複数のコールバックを指定する必要がなく、またログの処理やエラーハンドリングをより簡単に実装できます。今回はこのEvent StreamsをNode.js/Expressサーバーアプリケーションで利用する方法を紹介します。また、Event Streamsの特長についてはこちらの記事で取り上げられていますのでぜひご覧ください。

    FAQにも記載されていますが、Event Streamsは既存のステータスコールバックを置き換えるものではありません。今後も引き続き利用できます。

    前提条件

    このチュート …

    Read More
  • By Heather Hargreaves
    Personalize Communication Channel Outreach using Segment and Twilio Communications Channel Optimization Segment

    Do you want to automatically discover and communicate with your users on their preferred channels? In this post, learn how to measure and personalize your user’s preferred channel using Sendgrid, Programmable SMS, Programmable Voice, Segment Functions, and Segment Personas.

    Why would you want to measure and customize your users’ preferred communications channel?

    In this blog post you will learn how to send events to Segment with data on whether someone opened a Sendgrid email, answered a call sent from Twilio, or responded to a text message sent from Twilio.

    With those events captured in Segment using Segment Functions, a Computed Trait will be calculated to show what channel someone engaged with the most and set that as that user’s preferred channel. When sending out future notifications, the app will check the user’s preferred channel to select how they should receive their notification – text, email, …

    Read More
  • By Katie Kippenbrock
    Automate and Optimize Healthcare Appointment Outreach Using Twilio Appointment Management with EHR Integration Quick Deploy App.png

    A new Quick Deploy app is now available for healthcare provider organizations! The app packs together the core components of a deployable prototype for automated, two-way appointment management with EHR integration.

    Deploy the app here.

    This app is intended for prototyping and testing purposes only. Not for use in production environments!

    One of the most critical elements of delivering high-quality healthcare is an efficient scheduling and appointment management process. In the US alone, missed appointments cost the healthcare system $150B each year. Appointment outreach is an easy and cost-effective way to reduce no-shows, yet many available solutions for sending out these reminders are batched, delayed, and lack flexibility.

    Twilio is focused on helping you find a solution that overcomes these challenges and best fits your needs! If your organization is exploring building an in-house solution, Twilio’s real-time Messaging API can be integrated with your Electronic Health Record (EHR) …

    Read More
  • By Luís Leão
    Cómo enviar un mensaje de WhatsApp en 30 segundos con Python Cómo enviar un mensaje de WhatsApp en 30 segundos con Python

    WhatsApp es un servicio de mensajería de libre transmisión (OTT, por sus siglas en inglés) de gran uso en todo el mundo. En este tutorial, aprenderá cómo enviar rápidamente mensajes de WhatsApp a través de la API de mensajería de Twilio con un código reutilizable que se puede agregar a cualquier aplicación Python.

    Configuración de su entorno de desarrollo

    Necesita tener instaladas las siguientes dependencias en su entorno de desarrollo local para enviar mensajes de WhatsApp.

    Si no tiene Python instalado en su equipo, vaya a la página de descargas de Python e instale la versión más reciente ahora.

    A continuación, inicie sesión en su cuenta de Twilio actual o regístrese para obtener una nueva cuenta de Twilio gratuita.

    Después de iniciar sesión en la Consola …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.