Loading…

Twilio
Cloud communications platform providing APIs and services for messaging, voice, email, authentication, and customer engagement.
- 175 posts summarised
- latest
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
From their blog
Latest articles
Twilio SIGNAL London 2026: Turning AI Intelligence into Actionable Customer Engagement
Twilio SIGNAL London 2026 highlighted the shift from isolated interactions to continuous, connected conversations powered by AI agents. CEO Khozema Shipchandler emphasized that AI agents are moving from answering questions to orchestrating complex tasks, such as rebooking travel after a delayed flight, with IDC projecting one billion enterprise AI agents by 2029. Twilio’s Field CTO Andy O’Dower introduced platform pillars including Next-Gen Channels, the Conversation Layer (with Conversation Relay, Memory, and Intelligence), and the Twilio Console for managing AI deployment. Real-world examples from Car Finance 247 showed a 45% allocation rate and 42.7% engagement improvement, while Relay Technologies used WhatsApp Flows for delivery instructions and RCS reached approximately 76% coverage in the UK. The event underscored that scalable communications infrastructure and governance are as critical as AI intelligence for delivering seamless customer engagement across channels.
Build a Low-latency Voice AI Agent with Guardrails on Twilio and AWS
This blueprint describes an inbound voice AI agent built with Twilio and AWS that balances natural conversation with deterministic compliance steps. It uses Twilio’s Conversations Layer for Voice AI and AWS services including Amazon Bedrock for the LLM, DynamoDB for policy tables, and KMS for token encryption. The architecture uses a Lambda-based front door for scripted tasks like greeting and caller verification, and a container on AWS Fargate for AI-driven conversation. Call-bound tokens keep authentication out of the AI model, preventing prompt injection from unlocking sensitive tools. The system supports step-up verification, handoff to human agents with full context, and an admin console for live policy changes. The blueprint is intended as a starting point for enterprises to adapt to their own identity systems and compliance requirements.
How to Build a Production Voice AI agent: A Reference Architecture
A production voice AI agent requires more than a model and prompt; callers expect fluid conversation, interruption handling, and safe system actions. Twilio provides the Conversations Layer for Voice AI, handling connectivity, call control, speech, turn-taking, shared context, and handoff infrastructure. The customer builds and owns the agent runtime, including models, prompts, tools, guardrails, and business logic. Twilio’s six rules for AI agents include being agentic where possible and deterministic where required, keeping authority out of the model, and testing the agent like code. The architecture is designed to maximize the number of calls the agent resolves independently, with clean handoff to a human when needed.
How to Enable MMS on an iPhone
MMS (Multimedia Messaging Service) on iPhone is a carrier protocol for sending photos, videos, audio clips, and group messages to non-Apple devices when iMessage or RCS is unavailable. To enable it, open Settings, tap Messages, and toggle MMS Messaging on; also ensure Send as Text Message and Cellular Data are active. If the MMS option is missing, the carrier likely does not support it or has not provisioned it on the SIM or eSIM. Starting with iOS 18, Apple added RCS support, but keeping MMS enabled ensures media and group threads still reach older Android phones and carriers without RCS. Common fixes include checking cellular data, updating carrier settings, toggling Airplane Mode, restarting the iPhone, or disabling Wi-Fi Calling if the carrier blocks MMS over it.
How to Enable MMS Messaging & Fix Download Issues on Android
MMS on Android requires an active cellular data connection and correct app and carrier settings to send and receive multimedia messages. To enable MMS, open Google Messages, tap your profile icon, go to Messages settings → Advanced, and toggle on Auto-download MMS. On Samsung Galaxy phones using Samsung Messages, enable Auto retrieve under Settings → More settings → Multimedia messages. Ensure Mobile data is turned on in device settings and verify that the Access Point Name (APN) includes the carrier’s MMSC and lists “mms” in the APN type field. If MMS fails to download, common fixes include toggling Auto-download MMS, turning off Wi-Fi Calling, resetting APN settings, and clearing the Messages app cache. Carrier file size limits vary, with Verizon allowing up to 1.2 MB for images and T-Mobile capping sends at 1 MB.
Opt-in and opt-out text messages: definition, examples, and guidelines
SMS is a popular channel for business-customer engagement, but companies must follow opt-in and opt-out guidelines to comply with regulations and send only wanted messages. Opt-in requires explicit written consent, often through a double opt-in process where the customer first provides their phone number and then confirms via a reply. Opt-out occurs when a customer replies with a keyword like STOP, and businesses must honor that request immediately. Key U.S. regulations include the TCPA and CTIA best practices, which mandate consent, clear opt-out instructions, and disclosure of messaging terms. Using a platform like Twilio that automatically handles opt-out and resubscribe keywords helps businesses remain compliant and reduce human error.
Using Conversation Relay for Graceful AI to Human Handoff
A 2026 statistic shows 65% of AI-to-human handoffs still require customers to repeat themselves. Twilio Conversation Relay addresses this by preserving call context during the transfer. The tutorial builds a .NET web application that uses an OpenAI-powered AI agent to handle initial calls. When the caller requests a human, the AI generates a conversation summary and stores it as TaskAttributes in Twilio TaskRouter. The call is then seamlessly handed off to a human agent along with the stored context. The solution uses ngrok for local tunneling and requires a Twilio account with a voice-enabled phone number.
How to Build a Gemini Live Voice Agent with Twilio Agent Connect and Python
Phone audio differs from local microphone audio, requiring a translation layer between Twilio and Gemini Live. This tutorial builds a Python appointment concierge that connects Twilio Programmable Voice to the Gemini Live API through a custom Twilio Agent Connect provider. The provider converts 8 kHz μ-law phone audio to 16 kHz PCM for Gemini and 24 kHz Gemini output back to 8 kHz μ-law for Twilio. The agent handles interruptions, calls Python tools for appointment availability and booking, streams a live transcript, and supports outbound calls. The project uses twilio-agent-connect[server] 2.4, the google-genai Python SDK, FastAPI, and the gemini-3.8-live model as of October 2026.
Update to FCC's TCPA Consent Revocation Rules
The FCC adopted new TCPA consent revocation rules on September 30, 2026, effective November 25, 2026, replacing the previously planned ‘revoke all’ requirement. Callers may now interpret opt-out requests for informational robocalls and texts as applying only to that specific category, while marketing revocations continue to apply globally. Senders may designate an exclusive opt-out method from three approved options: an automated voice or key press mechanism, replying with a standardized keyword, or a dedicated website or phone number. Financial institutions sending fraud alerts may now use wireless numbers from reliable sources, including numbers provided by an authorized family member or captured via Caller ID. The FCC is also seeking comment on further changes, including shortening the opt-out timeframe to seven business days and mandating a single-step revoke-all option.
Improving Your Chances of A2P 10DLC Registration Approval
US carriers and regulators require A2P 10DLC registration to verify that all Application-to-Person traffic to US phone numbers is consensual. The process involves creating a Brand (who is sending messages) and a Campaign (what the messaging is for), then adding a number. A common rejection reason is selecting the wrong brand type: Sole Proprietor is only for entities without a Tax ID, and businesses with a Tax ID must register as a standard brand. Campaigns require a proper opt-in method, a thorough description, and a valid public URL. The privacy policy must explicitly state that mobile opt-in data will not be shared with third parties.
How to schedule a text message on iPhone and Android
Both iPhone and Android users can schedule text messages natively without third-party apps. On iPhone with iOS 18 or later, open Messages, tap the + icon, select Send Later, and pick a date and time up to 14 days ahead. On Android using Google Messages, type your text, long-press the Send button, and choose a scheduled send time. For older iPhones or SMS to Android users, the Shortcuts app can create a Time of Day automation to send messages. The post also covers third-party apps, the iPhone Reminders workaround, and Samsung Galaxy Messages scheduling. For businesses, Twilio’s Message Scheduling API allows scheduling SMS, MMS, or WhatsApp messages from 15 minutes to 35 days in advance.
SMS verification: What it is, how it works, & sending codes
SMS verification adds a second layer of security by sending a temporary, single-use numeric code via text message to a user’s mobile phone. The process involves providing a phone number, entering a username and password, receiving a code, and typing it into the app or website. This method blocks the majority of automated credential-stuffing and bulk bot attacks, though it is less secure than phishing-resistant methods like passkeys or authenticator apps. Challenges include SMS pumping, SIM swapping, and phishing, which can be mitigated with traffic anomaly detection, carrier intelligence, and layered authentication. Twilio Verify offers a single API for SMS, voice, email, push, and TOTP verification, with quickstart code samples available in multiple programming languages.
A New Shape for Twilio Docs: Finding What You Need by Use Case
Twilio redesigned its Programmable Voice documentation information architecture (IA) to address inconsistent navigation across product suites, introducing a consistent three-part sidebar—Quickstarts, Guides, and Reference—across all products. Guides are now split into two distinct pathways: By Use Case, which curates content for specific problems like setting up self-service IVRs, and By Feature or Product, for builders who already know the exact configuration they need. Landing pages with built-in executive summaries replace deep sidebar nesting, allowing developers to assess content relevance in about ten seconds without reading entire guides. The standardized IA also improves answers from AI coding assistants and search engines by providing clear, crawlable structural context that helps models ground suggestions in official Twilio guidance. Programmable Voice served as the pilot for this framework, and based on usage metrics and community feedback, Twilio plans to refine and roll out the model across the rest of its documentation.
Make your brand instantly recognizable across channels
Twilio Branded Communications helps businesses display their name, logo, and verified status across voice, messaging, and email to build consumer trust. Spam, spoofing, and AI fraud cause nearly half of consumers to trust messages more when they carry a verified logo. CareSignal used Branded Calling to put its verified name on outbound calls, achieving a 21% increase in answer rates. Fresha saw 40% read rates with branded RCS messages and a 6% increase in appointment confirmations over SMS. Twilio’s Trust Hub allows a single verified Business Profile to be used across channels, with performance tracked through Twilio Insights.
How To Import Data From Your CRM Or Another External Source Into Conversation Memory
Callers often have to repeat account details each time they contact a business. Twilio Conversation Memory addresses this by storing customer profiles, traits (e.g., VIPStatus, PreferredLanguage), and observations (e.g., ‘Order #9401 delayed’) for use by voice agents, chatbots, and IVRs. This tutorial presents two import paths: uploading a CSV directly in the console with AI-assisted mapping of columns to custom traits of types string, integer, boolean, or array, or building a .NET 9 Web API for programmatic sync. The API solution reads a mock JSON file containing four customer records, maps fields like phone and email to the Profiles API via CrmSyncService, and exposes a POST /sync/{phone} endpoint that first checks for existing profiles to avoid duplicates. After successful syncing, customer data appears in the Conversation Memory Store and is accessible on incoming interactions without extra database calls.
What is an SMTP server? How Simple Mail Transfer Protocol works
An SMTP server sends and relays outgoing email using the Simple Mail Transfer Protocol (SMTP), the internet standard (RFC 5321) for moving mail between servers, running on top of TCP for reliable delivery. SMTP handles only sending; POP3 and IMAP retrieve mail, while the server uses a store-and-forward process via a mail transfer agent, authenticating the sender and performing a DNS lookup. The default submission port is 587 with STARTTLS encryption, port 465 uses implicit TLS, and port 25 is for server-to-server relay but often blocked by ISPs. Most businesses outsource SMTP to a service like Twilio SendGrid to manage infrastructure, authentication (SMTP AUTH), and deliverability rather than running their own server, which requires constant maintenance. Extensions like MIME allow attachments and HTML formatting, while STARTTLS adds encryption, and SMTP AUTH requires login credentials to prevent unauthorized use.
How to write a top-notch email newsletter (27+ tips)
Writing a great email newsletter requires deliberate effort across many elements, not just a single tactic. The post provides 28 tips covering subject lines, preview text, consistent templates, focused topics, and user-generated content. It emphasizes using behavioral triggers to personalize content and creating content buckets with consistent ratios like 40 percent industry insights and 30 percent company updates. Protecting deliverability with SPF, DKIM, and DMARC is essential to avoid the spam folder and keep complaint rates under 0.3 percent. The post also recommends adding a feedback loop, optimizing the unsubscribe experience, and cross-pollinating with other newsletters to expand reach.
Extending Twilio Verify Beyond Carrier Channels: Passkeys, TOTP, and Push Without the Plumbing
Twilio Verify traditionally handles carrier-based OTP channels like SMS and voice, but also supports software channels including Passkeys, TOTP, and Push. Building these channels in-house requires managing FIDO2 relying party logic, CBOR parsing, TOTP seed storage equivalent to password hashes, and push notification lifecycle with key rotation. Verify abstracts these burdens through unified APIs: Passkey registration and verification each take two API calls, TOTP factors return a binding URI for QR code rendering and support secret migration, and Push challenges support silent approval with active polling for delayed notifications. Adding a software channel does not require a new integration; it is a Factor call against an existing Entity within the same Service configuration, providing one object model, combined audit trails, and centralized factor inventory. The platform handles cryptographic compliance, cross-platform origin validation, and credential custody while leaving client implementation, domain association files, and cross-channel policy decisions to the developer.
Keep European Customer Data Grounded - Without Breaking the Customer Experience
Twilio now hosts Studio, Functions & Assets, and TaskRouter entirely in its Ireland (IE1) region, enabling EU data residency without sacrificing customer experience. All visual IVR workflows, custom backend logic, and intelligent agent routing run and store data strictly within European borders. On a live support call, Studio keeps self-service flows low-latency in IE1, Functions validates account numbers locally, and TaskRouter passes verified context to the right agent. This eliminates the need for architectural gymnastics to satisfy EU data localization mandates. However, IE1 currently supports only Programmable Voice, Chat via Conversations (classic), and inbound SMS triggers, with no cross-region failover built in.
The absolute best time to send email campaigns in 2026
Email campaign timing strongly affects engagement and deliverability, but no single best time exists; optimal times depend on audience, purpose, and industry. Twilio SendGrid’s holiday data shows peak sends at 7 AM MDT, yet open times vary widely without statistical significance. HubSpot data indicates Tuesday and 11 AM EST correlate with higher open rates, a recommended control. B2B campaigns should avoid Mondays and Fridays, newsletters perform best Tuesday at 10 AM, promotional emails excel midweek mornings, and mobile users engage early morning and evening while desktop users peak during business hours. Sending at odd minutes past the hour avoids ISP congestion, and consistent A/B testing over 4-6 weeks per variable is key to finding the sweet spot.
Topics they write about
All topics →Weekly digest
The best engineering reads, once a week.