Send SMS/MMS

"Send" — send SMS or MMS for a given phone number

Message Status

"MessageStatus" — information about a specific message

List Messages

"ListMessages" — list of messages sent from your account

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (4)

Send SMS:

twilio=ServiceConnect["Twilio"]

twilio["Send",{"To"->"+5551112222","From"->"5551112223","Body"->"Hello World!"}][{"Status","ErrorCode","Body"}]

Send MMS:

ServiceExecute["Twilio","Send",{"To"->"+5551112222","From"->"5551112223","Body"->"This was sent from the Wolfram Language","MediaURL"->"https://wolfr.am/51~XOnOb"}][{"Sid","Status","Body"}]

Message status:

ServiceExecute["Twilio","MessageStatus",{"MessageSid"->"MMd0cd69170dba40deb217a5cd051f434b"}][{"Status","Body"}]

List messages:

Normal@ServiceExecute["Twilio","ListMessages",{"To"->"+5551112222","Date"->"2015-06-11"}]["Messages",;;5,{"Status","Body"}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[ServiceExecute, paclet:ref/ServiceExecute])  ▪  (RefLink[ServiceConnect, paclet:ref/ServiceConnect])}, {Related Service Connections:  (StringTypeLink[Twitter, paclet:ref/service/Twitter])  ▪  (StringTypeLink[Instagram, paclet:ref/service/Instagram])}})}})