Twilio Console to Twilio CLI

An Alfred Workflow


Short Description

Allows you to get a ressource as a JSON object from Twilio API (using Twilio CLI), simply by using Twilio console URL.

Last Updated

26 Oct 2020

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0.0
 

Bundle ID

com.cpoissonnier.twilio-console-to-twilio-cli
 

Applications

Webservices

Tags

Why this workflow ?

Twilio CLI is a powerful tool, but there is a lot of ressources that you can work with, even if you usually use few of them.

This workflow allows you to get a ressource as a JSON object, simply by using Twilio console URL.

Command

Just type twilio and paste the URL of the Twilio console page you are in. This workflow will build Twilio CLI command, run it, and paste the result in your clipboard.

Alternative action

You can use ⌘ if you simply want the command to be ran in a terminal window.

Supported ressources

Chat API

User

  • user : fetch a user
  • user's channels : fetch all the channel of a user

Channel

  • channel : fetch a channel
  • channel's members : fetch all the members of a channel
  • channel's messages : fetch all the messages of a channel

Messages API

SMS

  • message : fetch a message