Twilio API - send an SMS text from your cell phone to run a command on your computer


  • administrators

    Create a free trial account at twilio.com.

    Click the three dots inside a circle icon on the left.
    0_1562364133037_9f65227b-dfaa-4502-b991-d2d37f0fd2f2-image.png

    Select Programmable SMS
    0_1562364267962_efc06f85-a486-421e-9814-d6135828640a-image.png

    Select TwiML Apps under Tools
    Twilio API 1

    Set your request URL like this:
    https://www.triggercmd.com/api/twilio?trigger=LogSMS&computer=DellPC&token=(your token from Instructions page)

    Twilio API 1

    Create a batch file (d:\tools\twilio.bat for example) that accepts your parameters. As a test, you could just log the parameters with a batch file like this:

    echo %1 %2 %3 %4 %5 %6 %7 %8 %9 >> d:\tools\twilio.log
    

    Create a TRIGGERcmd command that runs your batch file with Allow Parameters set to true.
    0_1562364596277_f33539c7-18c3-49cc-bf1c-9b395b1d4087-image.png


Log in to reply
 

Looks like your connection to TRIGGERcmd Forum was lost, please wait while we try to reconnect.