Inspiration

MLH GHW API WEEK

What it does

It makes a call to a phone number, if the call is accepted, it'll say Hello! world.

How we built it

We built a curl request. via 3 steps: 1 Set our TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN variables. 3Replace the To and From numbers with our Twilio numbers. 3Replace the Url with the URL of our TwiML bin.

Challenges we ran into

I ran into problems while setting environment variables, but thanks to documentation, it saved me.

Accomplishments that we're proud of

Finally!! Made a outgoing call via terminal!

What we learned

Twilio API

curl -X POST https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Calls.json --data-urlencode "Url=http://demo.twilio.com/docs/voice.xml" --data-urlencode "To=+15856362521" --data-urlencode "From=+15855013095" -u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

replace From and To, also set the required variables.

Built With

Share this project:

Updates