Twilio
Twilio is a cloud communications platform that enables sending and receiving SMS and MMS messages programmatically. Manage message lifecycle operations including sending, retrieving, listing with filters, updating, and deleting messages for comprehensive communication workflows.
Example Use Cases
Customer Notifications
Send automated SMS notifications for order confirmations, shipping updates, appointment reminders, or account alerts to keep customers informed in real-time.
Two-Factor Authentication
Implement secure 2FA workflows by sending verification codes via SMS, validating user identity, and enhancing account security with time-sensitive authentication messages.
Marketing Campaigns
Deliver targeted SMS marketing campaigns with promotional offers, event announcements, or product launches to opted-in customer lists with tracking and analytics.
Support Communications
Enable two-way SMS conversations with customers for support inquiries, service requests, or feedback collection, providing convenient mobile-first communication channels.
Supported Actions
Message Sending
- Send SMS messages to phone numbers
- Send MMS messages with media attachments
- Schedule messages for future delivery
- Send messages from phone numbers or Messaging Services
- Include media URLs in messages
Message Retrieval
- Retrieve specific message details
- List messages with filters (date, status, direction)
- Get message delivery status
- Retrieve message error codes
- Access message body and metadata
Message Management
- Update message content (before sending)
- Delete message records
- Cancel scheduled messages
- Redact message content for privacy
- Track message status changes
Inbox & Receiving
- Retrieve incoming messages
- List received messages by date range
- Get message sender information
- Access inbound message body
- Filter messages by type (SMS/MMS)
Frequently Asked Questions
How does Durable handle Twilio API rate limits?
Twilio enforces account-level rate limits (typically 10,000 requests per second for most endpoints). Durable implements queuing and automatic retry with exponential backoff to handle rate limits gracefully while maintaining message delivery reliability.
What happens if a message fails to send?
Twilio provides detailed error codes and descriptions for failed messages (invalid number, carrier issues, content violations). Durable captures these errors, implements automatic retries for transient failures, and logs permanent failures with actionable information.
Can I send messages internationally?
Yes. Twilio supports international SMS to 200+ countries. Ensure your Twilio account has international permissions enabled and be aware of country-specific regulations, costs, and carrier limitations for successful delivery.
How are media messages (MMS) handled?
MMS messages can include images, videos, or PDFs by providing media URLs. Durable validates media formats and sizes, handles MMS-capable phone number requirements, and provides clear errors if MMS isn't supported for the destination.
What are the message length limits?
SMS messages are limited to 160 GSM-7 characters or 70 Unicode characters. Longer messages are automatically segmented and billed accordingly. Durable provides message length validation and can warn when messages exceed single-segment limits.
How do I handle inbound messages and replies?
Twilio sends inbound messages to configured webhook URLs. While Durable can retrieve received messages via API, setting up real-time webhooks in your Twilio console enables immediate response to incoming messages for conversational workflows.
Ready to integrate Twilio?
Get started with Durable's autonomous integration platform and connect Twilio to your workflows.
Book a Demo