Automatically buy a Twilio phone number and forward calls/SMS to another number with `create-phone-number-forwarding`

Stefan Judis, devrel at Twilio, has created a CLI tool named create-phone-number-forwarding:

A small CLI utility that buys a Twilio number and forwards incoming calls/SMS to your own number

I like the fact that at its core it’s basically a shell script wrapping around the twilio binary (combined with tools like jq), also making use of Twilio’s Serverless Functions (configured through twilio-run).

Execute it directly using npx:

npx create-phone-number-forwarding

create-phone-number-forwarding (CPNF) →

🇺🇸 Note: Until this issue is resolved, it only supports buying US numbers …