Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

How to Use bash or zsh to Make a Phone Call from a New Twilio Number

Blog post from Twilio

Post Details
Company
Date Published
Author
Paul Kamp
Word Count
865
Language
English
Hacker News Points
-
Summary

You can make a phone call using Twilio directly from bash or zsh by setting your Twilio credentials in the shell, finding an available number with cURL, purchasing the number, and then making a call using TwiML. The process involves several steps, including setting API credentials, querying for an available number, purchasing the number, and writing TwiML to instruct Twilio on how to handle the call. This guide provides a concise overview of how to automate finding, buying, and making a phone call with Twilio without leaving the command line.