Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Grails Plugin for Twilio
Groovy
branch: master
Failed to load latest commit information.
.settings 1.0d version
grails-app
scripts
test/unit/grails/plugin/twilio
web-app
.classpath
.gitignore Initial commit
.project
README Updated Readme
TwilioGrailsPlugin.groovy
application.properties

README

A Grails Plugin for Interacting with Twilio

https://www.twilio.com

CONFIGURATION
-------------

You will need to update your config.groovy with a section for twilio like that below

twilio {
	account {
		sid = 'XXXXXXX'
		auth_token = 'XXXXX'
	}
	
	sms {
		enable_status_callback = true  // set this to false if you DON'T want twilio to send ACK requests to your application
	}
	
	phones {
		main = '+16175551212'
	}
	
	proxy {
		host = "www"
		port = "80"
		method = "http" // or https
		
		auth {
			username = "foo"
			password = "bar"
		}
	}
}

Remember that the main phone will need to be your twilio Sandbox number, and that you can only send messages from
that number to verified twilio numbers.  This restriction doesn't exist for purchased Twilio numbers.

SmsService is responsible for sending SMS messages.  See the SmsController for example usage.
Something went wrong with that request. Please try again.