Skip to content

Small Golang HTTP Server that leverages Twilio's API for calling and SMS messaging

License

Notifications You must be signed in to change notification settings

rvansant2/whats-da-twilio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's da twilio

Description

Small Golang HTTP Server that leverages Twilio's API for calling and SMS messaging

Note: trial Twilio accounts and numbers can only send to verified numbers linked to the account

Required

  • Go v1.15.x
  • Twilio account and trial number
  • ngrok for Twiml endpoint and default message and recording to play, where needed

Get started

  • Clone repo and run cd whats-da-twilio
  • Then run go mod tidy to pull in all package depenendencies
  • Copy or rename default.example as default and update/fill in the details of this configuration file with your Twilio account details.
  • To start server, run go run src/main.go and go to your browser and type http://localhost:3000/call or http://localhost:3000/sms
  • Verify a call or text message is made/sent and you hear the message recording or read the default text message sent

To Do

  • Add API Key verifcation
  • Add REST-ful protocols to endpoints
  • Add HTTP params support for SMS message bodies

About

Small Golang HTTP Server that leverages Twilio's API for calling and SMS messaging

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages