twilio_send_sms
Pack: twilio · Endpoint: https://gateway.pipeworx.io/twilio/mcp
Send an SMS message via Twilio. Returns the message SID and status.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_accountSid | string | yes | Twilio Account SID (starts with AC…) |
_authToken | string | yes | Twilio Auth Token |
to | string | yes | Destination phone number in E.164 format (e.g., +15551234567) |
from | string | yes | Twilio phone number to send from in E.164 format |
body | string | yes | Message body text (max 1600 characters) |
Example call
Arguments
{
"_accountSid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"_authToken": "your-twilio-auth-token",
"to": "+15551234567",
"from": "+15559876543",
"body": "Hello! This is a test message from Twilio."
}
curl
curl -X POST https://gateway.pipeworx.io/twilio/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"twilio_send_sms","arguments":{"_accountSid":"ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","_authToken":"your-twilio-auth-token","to":"+15551234567","from":"+15559876543","body":"Hello! This is a test message from Twilio."}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('twilio_send_sms', {
"_accountSid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"_authToken": "your-twilio-auth-token",
"to": "+15551234567",
"from": "+15559876543",
"body": "Hello! This is a test message from Twilio."
});
More examples
{
"_accountSid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"_authToken": "your-twilio-auth-token",
"to": "+442071838750",
"from": "+15559876543",
"body": "Your verification code is: 123456"
}
Response shape
| Field | Type | Description |
|---|---|---|
sid | string | Message SID (unique identifier) |
account_sid | string | Account SID |
to | string | Destination phone number |
from | string | Sender phone number |
body | string | Message body text |
status | string | Message status (queued, sending, sent, failed, etc.) |
date_created | string | ISO 8601 timestamp of creation |
date_updated | string | ISO 8601 timestamp of last update |
date_sent | string | ISO 8601 timestamp when sent |
price | string | null | Cost of the message |
price_unit | string | Currency unit (USD) |
error_code | integer | null | Error code if failed |
error_message | string | null | Error message if failed |
Full JSON Schema
{
"type": "object",
"properties": {
"sid": {
"type": "string",
"description": "Message SID (unique identifier)"
},
"account_sid": {
"type": "string",
"description": "Account SID"
},
"to": {
"type": "string",
"description": "Destination phone number"
},
"from": {
"type": "string",
"description": "Sender phone number"
},
"body": {
"type": "string",
"description": "Message body text"
},
"status": {
"type": "string",
"description": "Message status (queued, sending, sent, failed, etc.)"
},
"date_created": {
"type": "string",
"description": "ISO 8601 timestamp of creation"
},
"date_updated": {
"type": "string",
"description": "ISO 8601 timestamp of last update"
},
"date_sent": {
"type": "string",
"description": "ISO 8601 timestamp when sent"
},
"price": {
"type": [
"string",
"null"
],
"description": "Cost of the message"
},
"price_unit": {
"type": "string",
"description": "Currency unit (USD)"
},
"error_code": {
"type": [
"integer",
"null"
],
"description": "Error code if failed"
},
"error_message": {
"type": [
"string",
"null"
],
"description": "Error message if failed"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"twilio": {
"url": "https://gateway.pipeworx.io/twilio/mcp"
}
}
}
See Getting Started for client-specific install steps.