Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

twilio-remote-cli

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twilio-remote-cli

A remote control for your Twilio API

  • 0.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Twilio Remote CLI

npm version npm Known Vulnerabilities Commitizen friendly

A remote control for your Twilio API

Prerequisites

The CLI has dependencies that require Node 6 or higher, together with NPM 3 or higher.

You will also need a Twilio account and phone number that can send SMS messages (you can sign up for a Twilio account for free here).

Table of Contents

Installation

BEFORE YOU INSTALL: please read the prerequisites

Install Globally

npm install -g twilio-remote-cli

Run from npm without installing

npx twilio-remote-cli

Install a specific version (Example: 0.0.1)

npm install -g twilio-remote-cli@0.0.1

Usage

  $ twilio-remote --help

  Usage
    $ twilio-remote

  Options
    --call,    -c   Perform a call against a given number
    --digits   -d   Send some digits to the number when the call is answered
    --sms,     -s   Deliver an sms to a given number (to be used in combination of --message)
    --message, -m   The message to be delivered to the given number (requires the --sms flag)

  Example
    $ twilio-remote
    $ twilio-remote -c +1234567890
    $ twilio-remote -c +1234567890 -d 123
    $ twilio-remote -s +1234567890 -m Allo!

Then just follow the instructions on your terminal.

Options

--call, -c

Perform a call against a given number

$ twilio-remote -c +1234567890
--digits, -d

NOTE This flag must be used in combination with --call

Send some DTMF (Dual-Tone Multi-Frequency Tones) tones to the number when the call is answered. Have a look at Twilio Studio Flow. Learn more how to use the Gather Input On Call Twilio Widget from here

If a certain number requires to enter a code when the call is answered, you can use twilio-remote in this way:

$ twilio-remote -c +1234567890 -d 123
--sms, -s

Deliver an sms to a given number NOTE This flag must be used in combination with --message

$ twilio-remote -s +1234567890 -m Allo!
--message, -m

The message to be delivered to the given number NOTE This flag must be used in combination with --sms

$ twilio-remote -s +1234567890 -m Allo!

Configuration

Twilio Remote CLI make uses of the Twilio API by accessing you personal Twilio account. We need to configure the application with our Twilio credentials. Gather your Twilio Account Sid and Auth Token from the Twilio console along with a Twilio phone number that can send SMS messages.

Run the Twilio Remote CLI with

twilio-remote

Then select the Setup Twilio Account option and enter all the required information.

Sending SMS

Making calls

License

MIT


Created with 🦄 by andreasonny83

Keywords

FAQs

Package last updated on 03 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc