Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Grails Plugin for Twilio

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .settings
Octocat-spinner-32 grails-app
Octocat-spinner-32 scripts
Octocat-spinner-32 test
Octocat-spinner-32 web-app
Octocat-spinner-32 .classpath
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .project
Octocat-spinner-32 README
Octocat-spinner-32 TwilioGrailsPlugin.groovy
Octocat-spinner-32 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.