twilio
Complete guide to all Twilio tools — text, media, delivery tracking, E.164 formatting, and message management.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Complete guide to all Twilio tools — text, media, delivery tracking, E.164 formatting, and message management.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Complete guide to all Gmail tools — inbox management, search, sending, drafts, and attachments.
Understand the @matimo/composio governance wrapper — how composio_* tools proxy Composio's 250+ integrations, what risk levels mean for approval, and how to handle missing connected accounts.
Complete guide to all Microsoft Graph tools — search, OneDrive/SharePoint files, Outlook mail, Teams, calendar, and SharePoint publishing.
Generates a smart daily briefing by analyzing Gmail and Google Calendar.
Complete guide for DBA agents managing PostgreSQL databases — query execution, performance tuning, connection monitoring, index health, and VACUUM management. USE THIS SKILL whenever the user asks to inspect, diagnose, optimize, or manage a PostgreSQL database. Triggers include: 'show me slow queries', 'check table bloat', 'what connections are active', 'find unused indexes', 'why is my DB slow', 'run this SQL', or any Postgres health/diagnostic task.
Best practices for extracting signal from Slack channel history — decisions, action items, blockers, and FYIs — and formatting them into structured reports.
| name | twilio |
| description | Complete guide to all Twilio tools — text, media, delivery tracking, E.164 formatting, and message management. |
| version | 1.0.0 |
| license | MIT |
| metadata | {"category":"Communication","difficulty":"beginner","apply-to":"twilio-send-sms twilio-send-mms twilio-get-message twilio-list-messages","tags":"twilio,sms,mms,messaging,communication"} |
This skill teaches you how to send, track, and manage SMS and MMS messages using the Twilio Programmable Messaging API through Matimo tools.
| Tool | Purpose |
|---|---|
twilio-send-sms | Send a text message |
twilio-send-mms | Send a message with media attachments |
twilio-get-message | Check message status by SID |
twilio-list-messages | List sent/received messages |
Use twilio-send-sms to send a text message to any phone number.
| Parameter | Type | Description |
|---|---|---|
account_sid | string | Twilio Account SID (e.g., ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) |
to | string | Recipient phone number in E.164 format (e.g., +15558675310) |
from | string | Your Twilio phone number in E.164 format (e.g., +15557122661) |
body | string | Message text (up to 1,600 characters) |
| Parameter | Type | Description |
|---|---|---|
status_callback | string | URL to receive delivery status webhooks |
+ followed by country code and number (e.g., +14155551234). No spaces, dashes, or parentheses.status_callback for critical messages to track delivery confirmation.| Country | Example |
|---|---|
| US/Canada | +14155551234 |
| UK | +447911123456 |
| Australia | +61412345678 |
| India | +919876543210 |
{
"account_sid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"to": "+15558675310",
"from": "+15557122661",
"body": "Your appointment is confirmed for tomorrow at 2pm. Reply YES to confirm or CANCEL to reschedule."
}
{
"account_sid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"to": "+15558675310",
"from": "+15557122661",
"body": "Your verification code is 847291. This code expires in 10 minutes.",
"status_callback": "https://api.example.com/webhooks/twilio/status"
}
A successful send returns a Message resource:
{
"sid": "SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"status": "queued",
"to": "+15558675310",
"from": "+15557122661",
"body": "Your appointment is confirmed...",
"num_segments": "1",
"direction": "outbound-api"
}
Message status flow: queued → sending → sent → delivered (or failed/undelivered)
Use twilio-send-mms to send a message with media (images, PDFs, GIFs, etc.).
| Parameter | Type | Description |
|---|---|---|
media_url | string | Publicly accessible URL of the media to attach |
{
"account_sid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"to": "+15558675310",
"from": "+15557122661",
"body": "Here's the receipt for your order #1234",
"media_url": "https://cdn.example.com/receipts/1234.png"
}
Use twilio-get-message to check the delivery status of a previously sent message.
| Parameter | Type | Description |
|---|---|---|
account_sid | string | Your Twilio Account SID |
message_sid | string | The SID returned when the message was sent (e.g., SMxxx) |
| Status | Meaning |
|---|---|
queued | Message is waiting to be sent |
sending | Twilio is sending the message to the carrier |
sent | Message was sent to the carrier successfully |
delivered | Carrier confirmed delivery to the recipient |
failed | Message could not be sent (check error_code) |
undelivered | Carrier rejected the message (check error_code) |
{
"account_sid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"message_sid": "SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
Use twilio-list-messages to retrieve sent and received messages.
| Parameter | Type | Description |
|---|---|---|
account_sid | string | Your Twilio Account SID |
to | string | Filter by recipient number |
from | string | Filter by sender number |
date_sent | string | Filter by date (YYYY-MM-DD) |
page_size | number | Results per page (max 1000) |
{
"account_sid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"page_size": 20
}
twilio-send-sms with a short expiry messagetwilio-get-message to confirm receiptfailed/undelivered, retry or offer alternate channeltwilio-send-sms with appointment detailstwilio-list-messages to check for incoming repliesstatus_callback URLqueued status with SIDtwilio-get-message with the SID if not using webhooksdelivered status before proceeding| Error Code | Meaning | Resolution |
|---|---|---|
21211 | Invalid To number | Verify E.164 format |
21212 | Invalid From number | Use a Twilio number from your account |
21610 | Recipient opted out | Recipient sent STOP — cannot message them |
21614 | To number not valid mobile | Cannot send SMS to landlines |
30003 | Unreachable | Phone is off or out of range — retry later |
30004 | Message blocked | Carrier filtered the message — review content |
30005 | Unknown destination | Number doesn't exist |
30006 | Landline or unreachable | Try a different channel |
For high-volume sending, use multiple From numbers or a Messaging Service.
Twilio tools use HTTP Basic Auth:
TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKENBoth are found on the Twilio Console dashboard. Never share or log your Auth Token.