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

NameTypeRequiredDescription
_accountSidstringyesTwilio Account SID (starts with AC…)
_authTokenstringyesTwilio Auth Token
tostringyesDestination phone number in E.164 format (e.g., +15551234567)
fromstringyesTwilio phone number to send from in E.164 format
bodystringyesMessage 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

FieldTypeDescription
sidstringMessage SID (unique identifier)
account_sidstringAccount SID
tostringDestination phone number
fromstringSender phone number
bodystringMessage body text
statusstringMessage status (queued, sending, sent, failed, etc.)
date_createdstringISO 8601 timestamp of creation
date_updatedstringISO 8601 timestamp of last update
date_sentstringISO 8601 timestamp when sent
pricestring | nullCost of the message
price_unitstringCurrency unit (USD)
error_codeinteger | nullError code if failed
error_messagestring | nullError 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.

Regenerated from source · build May 9, 2026