twilio_get_message

Pack: twilio · Endpoint: https://gateway.pipeworx.io/twilio/mcp

Get details of a specific Twilio message by its SID.

Parameters

NameTypeRequiredDescription
_accountSidstringyesTwilio Account SID
_authTokenstringyesTwilio Auth Token
sidstringyesMessage SID (starts with SM…)

Example call

Arguments

{
  "_accountSid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "_authToken": "your-twilio-auth-token",
  "sid": "SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

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_get_message","arguments":{"_accountSid":"ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","_authToken":"your-twilio-auth-token","sid":"SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('twilio_get_message', {
  "_accountSid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "_authToken": "your-twilio-auth-token",
  "sid": "SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
});

Response shape

FieldTypeDescription
sidstringMessage SID
account_sidstringAccount SID
tostringDestination phone number
fromstringSender phone number
bodystringMessage body text
statusstringMessage status
date_createdstringISO 8601 creation timestamp
date_updatedstringISO 8601 update timestamp
date_sentstringISO 8601 sent timestamp
pricestring | nullMessage cost
price_unitstringCurrency unit
error_codeinteger | nullError code if failed
error_messagestring | nullError message if failed
uristringAPI URI for this message
Full JSON Schema
{
  "type": "object",
  "properties": {
    "sid": {
      "type": "string",
      "description": "Message SID"
    },
    "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"
    },
    "date_created": {
      "type": "string",
      "description": "ISO 8601 creation timestamp"
    },
    "date_updated": {
      "type": "string",
      "description": "ISO 8601 update timestamp"
    },
    "date_sent": {
      "type": "string",
      "description": "ISO 8601 sent timestamp"
    },
    "price": {
      "type": [
        "string",
        "null"
      ],
      "description": "Message cost"
    },
    "price_unit": {
      "type": "string",
      "description": "Currency unit"
    },
    "error_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Error code if failed"
    },
    "error_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "Error message if failed"
    },
    "uri": {
      "type": "string",
      "description": "API URI for this message"
    }
  }
}

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