際際滷

際際滷Share a Scribd company logo
Twilio
THE CLOUD COMMUNICATIONS PLATFORM
By - Ali Tanwir
Agenda
 Introduction
 How does it work?
 Get Set Go!
 About Twilio API
 Features of Twilio
 Benefits of Twilio
 Demo
 References
I am Ali Tanwir
Hello!
You can email me at
 ali.tanwir@nexthoughts.com
Introduction1

Focus your resources and time on
tailoring experiences, not building
from scratch.
TWILIO was founded in 2007 by Jeff Lawson, Evan Cooke, and John Wolthuis
and was originally based in both Seattle, Washington, and San Francisco,
California.
It is a cloud communications platform which allows software developers to
programmatically make and receive phone calls and send and receive text
messages using its web service APIs.
TWILIO API have support for various languages like - PHP, .NET (C#), PYTHON,
JAVA, RUBY
How does it works?2
How message are handled by Twilio
How message sending works
1 User sends
SMS
TWILIO
Application
2 Twilio pings Application
3 Application connects with
DB to retrieve data
Database
4 DB returns the data
5 Application sends SMS via
Twilio API
6 User receives SMS via Twilio
API
Getting started..
Get set go!3
 Add Twilio dependency into your application BuildConfig.groovy file,
 Create an account in Twilio https://www.twilio.com/
 Get verified your mobile number
 Get a Twilio phone number
 Write a code using Twilio helper libraries for handling calls and messages
 Set the POST url for the number which will call your application action
 All set! To starting sending/receiving messages or making calls
dependencies{
compile 'com.twilio.sdk:twilio-java-
sdk:3.4.5'
}
Know Twilio API - REST API & TwiML
About TWILIO API4
REST API
The Twilio REST API allows you to query
meta-data about your account, phone
numbers, calls, text messages, and
recordings. You can also do some fancy things
like initiate outbound calls and send text
messages.
For reference:
 https://www.twilio.com/docs/api/rest
 https://www.twilio.com/docs/api/rest/send
ing-messages
Twilio - REST API & TwiML
TwiML
The Twilio Markup Language is a set of
instructions you can use to tell Twilio what to
do when you receive an incoming call or SMS.
TwiML is similar to HTML. Only one TwiML
document is rendered to the caller at once, but
many documents can be linked together to
build complex interactive voice applications.
For reference:
https://www.twilio.com/docs/api/twiml
Features of TWILIO5
Messaging API, Voice API and Twilio Clients
Twilio MESSAGE API
 Receive SMS and MMS messages to your Twilio phone
numbers and reply back with SMS and MMS messages
 Send SMS and MMS messages using Twilio's REST API
 Track SMS conversations
 Send SMS messages during phone calls
Twilio VOICE API
 Play audio and text
 Record audio
 Conferencing
 Real time status
 Global reach
 Convert speech to text
Twilio CLIENTS
Lets any browser, phone or tablet interact using only a data
connection. Using Twilio you can embed voice directly into your
web, iPhone or Android apps.
Benefits of TWILIO6
Twilio Benefits
 Set geographic permission for messaging and calling
 Monitor your API
 Maintain log details
 Can export CSV of logs
 Can use TWILIO API with - PHP, .NET (C#), PYTHON,
NODE Js, JAVA, RUBY
Demo
7
References
 Twilio Tutorials https://www.twilio.com/docs/tutorials
 REST API: Sending SMS or MMS
https://www.twilio.com/docs/api/rest/sending-messages
 REST API: Calls https://www.twilio.com/docs/api/rest/call
 Twilio API Explorer https://www.twilio.com/user/account/developer-tools/api-
explorer/message-create
 REST API Test Credentials https://www.twilio.com/docs/api/rest/test-
credentials
 PPT overview http://www.slideshare.net/naincygupta35574/twilio-
sms?qid=da65045e-a26d-4491-8f26-eeacf1fb6a43&v=&b=&from_search=46
8
Any questions ?
You can email me at
 ali.tanwir@nexthoughts.com
You can find the code used with this presentation at:
 https://bitbucket.org/alitanwir/twilio-using-groovy-
grails-demo
Thanks!

More Related Content

What's hot (20)

TWILIO SMS Introduction
TWILIO SMS IntroductionTWILIO SMS Introduction
TWILIO SMS Introduction
Naincy Gupta
Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Voice Applications with Amazon AWS S3 and EC2Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Inc
Create an IVR that Keeps Up with Your Customers
Create an IVR that Keeps Up with Your CustomersCreate an IVR that Keeps Up with Your Customers
Create an IVR that Keeps Up with Your Customers
Twilio Inc
AWS Customer Presentation - Twilio
AWS Customer Presentation - TwilioAWS Customer Presentation - Twilio
AWS Customer Presentation - Twilio
Amazon Web Services
7 Principles of API Design - Waza
7 Principles of API Design - Waza7 Principles of API Design - Waza
7 Principles of API Design - Waza
Twilio Inc
Twilio Signal 2016 Robots-IoT-Watson-Cognitive + Twilio
Twilio Signal 2016 Robots-IoT-Watson-Cognitive + TwilioTwilio Signal 2016 Robots-IoT-Watson-Cognitive + Twilio
Twilio Signal 2016 Robots-IoT-Watson-Cognitive + Twilio
Twilio Inc
Twilio Signal 2016 Build Your Own Cloud Enterprise VoIP
Twilio Signal 2016 Build Your Own Cloud Enterprise VoIPTwilio Signal 2016 Build Your Own Cloud Enterprise VoIP
Twilio Signal 2016 Build Your Own Cloud Enterprise VoIP
Twilio Inc
Twilio Product Overview
Twilio Product OverviewTwilio Product Overview
Twilio Product Overview
Twilio Inc
Final Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 CloudFinal Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 Cloud
Dealmaker Media
Twilio Presentation
Twilio PresentationTwilio Presentation
Twilio Presentation
Chelsea Pugh
Programmable Video Fundamentals
Programmable Video FundamentalsProgrammable Video Fundamentals
Programmable Video Fundamentals
Mark Roberts
Twilio API: Build SMS Text Message Into Web Apps
Twilio API: Build SMS Text Message Into Web AppsTwilio API: Build SMS Text Message Into Web Apps
Twilio API: Build SMS Text Message Into Web Apps
Mindfire Solutions
What Can You Do With Twilio
What Can You Do With TwilioWhat Can You Do With Twilio
What Can You Do With Twilio
Twilio Inc
Integrating Communications into CRM
Integrating Communications into CRMIntegrating Communications into CRM
Integrating Communications into CRM
Twilio Inc
Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010
Twilio Inc
Smarter SIP Trunks: 6 Ways You Can Save Time and Get More Features
Smarter SIP Trunks: 6 Ways You Can Save Time and Get More FeaturesSmarter SIP Trunks: 6 Ways You Can Save Time and Get More Features
Smarter SIP Trunks: 6 Ways You Can Save Time and Get More Features
Twilio Inc
Twilio Signal 2016 Serverless Contact Center
Twilio Signal 2016 Serverless Contact CenterTwilio Signal 2016 Serverless Contact Center
Twilio Signal 2016 Serverless Contact Center
Twilio Inc
CTIA Keynote - Jeff Lawson - Twilio - Ways of the Software People or the Way ...
CTIA Keynote - Jeff Lawson - Twilio - Ways of the Software People or the Way ...CTIA Keynote - Jeff Lawson - Twilio - Ways of the Software People or the Way ...
CTIA Keynote - Jeff Lawson - Twilio - Ways of the Software People or the Way ...
Twilio Inc
Twilio Signal 2016 Using Add-ons
Twilio Signal 2016 Using Add-onsTwilio Signal 2016 Using Add-ons
Twilio Signal 2016 Using Add-ons
Twilio Inc
TAP Application Development with Node.js
TAP Application Development with Node.jsTAP Application Development with Node.js
TAP Application Development with Node.js
hSenid Mobile Marketing
TWILIO SMS Introduction
TWILIO SMS IntroductionTWILIO SMS Introduction
TWILIO SMS Introduction
Naincy Gupta
Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Voice Applications with Amazon AWS S3 and EC2Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Inc
Create an IVR that Keeps Up with Your Customers
Create an IVR that Keeps Up with Your CustomersCreate an IVR that Keeps Up with Your Customers
Create an IVR that Keeps Up with Your Customers
Twilio Inc
AWS Customer Presentation - Twilio
AWS Customer Presentation - TwilioAWS Customer Presentation - Twilio
AWS Customer Presentation - Twilio
Amazon Web Services
7 Principles of API Design - Waza
7 Principles of API Design - Waza7 Principles of API Design - Waza
7 Principles of API Design - Waza
Twilio Inc
Twilio Signal 2016 Robots-IoT-Watson-Cognitive + Twilio
Twilio Signal 2016 Robots-IoT-Watson-Cognitive + TwilioTwilio Signal 2016 Robots-IoT-Watson-Cognitive + Twilio
Twilio Signal 2016 Robots-IoT-Watson-Cognitive + Twilio
Twilio Inc
Twilio Signal 2016 Build Your Own Cloud Enterprise VoIP
Twilio Signal 2016 Build Your Own Cloud Enterprise VoIPTwilio Signal 2016 Build Your Own Cloud Enterprise VoIP
Twilio Signal 2016 Build Your Own Cloud Enterprise VoIP
Twilio Inc
Twilio Product Overview
Twilio Product OverviewTwilio Product Overview
Twilio Product Overview
Twilio Inc
Final Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 CloudFinal Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 Cloud
Dealmaker Media
Twilio Presentation
Twilio PresentationTwilio Presentation
Twilio Presentation
Chelsea Pugh
Programmable Video Fundamentals
Programmable Video FundamentalsProgrammable Video Fundamentals
Programmable Video Fundamentals
Mark Roberts
Twilio API: Build SMS Text Message Into Web Apps
Twilio API: Build SMS Text Message Into Web AppsTwilio API: Build SMS Text Message Into Web Apps
Twilio API: Build SMS Text Message Into Web Apps
Mindfire Solutions
What Can You Do With Twilio
What Can You Do With TwilioWhat Can You Do With Twilio
What Can You Do With Twilio
Twilio Inc
Integrating Communications into CRM
Integrating Communications into CRMIntegrating Communications into CRM
Integrating Communications into CRM
Twilio Inc
Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010
Twilio Inc
Smarter SIP Trunks: 6 Ways You Can Save Time and Get More Features
Smarter SIP Trunks: 6 Ways You Can Save Time and Get More FeaturesSmarter SIP Trunks: 6 Ways You Can Save Time and Get More Features
Smarter SIP Trunks: 6 Ways You Can Save Time and Get More Features
Twilio Inc
Twilio Signal 2016 Serverless Contact Center
Twilio Signal 2016 Serverless Contact CenterTwilio Signal 2016 Serverless Contact Center
Twilio Signal 2016 Serverless Contact Center
Twilio Inc
CTIA Keynote - Jeff Lawson - Twilio - Ways of the Software People or the Way ...
CTIA Keynote - Jeff Lawson - Twilio - Ways of the Software People or the Way ...CTIA Keynote - Jeff Lawson - Twilio - Ways of the Software People or the Way ...
CTIA Keynote - Jeff Lawson - Twilio - Ways of the Software People or the Way ...
Twilio Inc
Twilio Signal 2016 Using Add-ons
Twilio Signal 2016 Using Add-onsTwilio Signal 2016 Using Add-ons
Twilio Signal 2016 Using Add-ons
Twilio Inc
TAP Application Development with Node.js
TAP Application Development with Node.jsTAP Application Development with Node.js
TAP Application Development with Node.js
hSenid Mobile Marketing

Similar to Twilio using Groovy Grails (20)

Supermondays twilio
Supermondays twilioSupermondays twilio
Supermondays twilio
Michael Peacock
Twilio at the Google App Engine Meetup 2009-10
Twilio at the Google App Engine Meetup 2009-10Twilio at the Google App Engine Meetup 2009-10
Twilio at the Google App Engine Meetup 2009-10
Twilio Inc
Introduction to Twilio.pptx
Introduction to Twilio.pptxIntroduction to Twilio.pptx
Introduction to Twilio.pptx
Suvin Nimnaka
How to augment On-premise Call Centers to Scale-out to the Cloud
How to augment On-premise Call Centers to Scale-out to the CloudHow to augment On-premise Call Centers to Scale-out to the Cloud
How to augment On-premise Call Centers to Scale-out to the Cloud
Daniel Zivkovic
Global Azure2021 Verona.pptx
Global Azure2021 Verona.pptxGlobal Azure2021 Verona.pptx
Global Azure2021 Verona.pptx
Luis Beltran
Tropo Presentation at the Telecom API Workshop
Tropo Presentation at the Telecom API WorkshopTropo Presentation at the Telecom API Workshop
Tropo Presentation at the Telecom API Workshop
Alan Quayle
VoIP Drupal Framework DrupalCon Prague
VoIP Drupal Framework DrupalCon PragueVoIP Drupal Framework DrupalCon Prague
VoIP Drupal Framework DrupalCon Prague
Tamer Zoubi
TYPO3 Flow a solid foundation for medialib.tv
TYPO3 Flow a solid foundation for medialib.tvTYPO3 Flow a solid foundation for medialib.tv
TYPO3 Flow a solid foundation for medialib.tv
dfeyer
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
IBM Watson
Get More From Your Messages with Twilio + Watson Add-Ons
Get More From Your Messages with Twilio + Watson Add-OnsGet More From Your Messages with Twilio + Watson Add-Ons
Get More From Your Messages with Twilio + Watson Add-Ons
IBM Watson
Shaan diwanji twilio company report
Shaan diwanji twilio company reportShaan diwanji twilio company report
Shaan diwanji twilio company report
Shaan Diwanji
Voice Enabling your Applications with Twilio
Voice Enabling your Applications with TwilioVoice Enabling your Applications with Twilio
Voice Enabling your Applications with Twilio
Jim Schweitzer
Image Recognition in WhatsApp chatbots.pptx
Image Recognition in WhatsApp chatbots.pptxImage Recognition in WhatsApp chatbots.pptx
Image Recognition in WhatsApp chatbots.pptx
Luis Beltran
Mobicents Summit 2012 - Jonas Borjesson - Introduction to Twilio
Mobicents Summit 2012 - Jonas Borjesson - Introduction to TwilioMobicents Summit 2012 - Jonas Borjesson - Introduction to Twilio
Mobicents Summit 2012 - Jonas Borjesson - Introduction to Twilio
telestax
Conversation With Your Application Using DialogFlow and CloudFunctions
Conversation With Your Application Using DialogFlow and CloudFunctionsConversation With Your Application Using DialogFlow and CloudFunctions
Conversation With Your Application Using DialogFlow and CloudFunctions
Cliffano Subagio
Twilio - The Cloud Communications Platform
Twilio - The Cloud Communications PlatformTwilio - The Cloud Communications Platform
Twilio - The Cloud Communications Platform
Andrew Bo
Telephony with OpenShift Twilio and MongoDB
Telephony with OpenShift Twilio and MongoDBTelephony with OpenShift Twilio and MongoDB
Telephony with OpenShift Twilio and MongoDB
Mark Atwood
Twilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep DiveTwilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep Dive
Twilio Inc
Tropo Presentation
Tropo PresentationTropo Presentation
Tropo Presentation
Mark Headd
Promo Voip Drupal Hands On Experience Webinar
Promo Voip Drupal Hands On Experience WebinarPromo Voip Drupal Hands On Experience Webinar
Promo Voip Drupal Hands On Experience Webinar
Micky Metts
Twilio at the Google App Engine Meetup 2009-10
Twilio at the Google App Engine Meetup 2009-10Twilio at the Google App Engine Meetup 2009-10
Twilio at the Google App Engine Meetup 2009-10
Twilio Inc
Introduction to Twilio.pptx
Introduction to Twilio.pptxIntroduction to Twilio.pptx
Introduction to Twilio.pptx
Suvin Nimnaka
How to augment On-premise Call Centers to Scale-out to the Cloud
How to augment On-premise Call Centers to Scale-out to the CloudHow to augment On-premise Call Centers to Scale-out to the Cloud
How to augment On-premise Call Centers to Scale-out to the Cloud
Daniel Zivkovic
Global Azure2021 Verona.pptx
Global Azure2021 Verona.pptxGlobal Azure2021 Verona.pptx
Global Azure2021 Verona.pptx
Luis Beltran
Tropo Presentation at the Telecom API Workshop
Tropo Presentation at the Telecom API WorkshopTropo Presentation at the Telecom API Workshop
Tropo Presentation at the Telecom API Workshop
Alan Quayle
VoIP Drupal Framework DrupalCon Prague
VoIP Drupal Framework DrupalCon PragueVoIP Drupal Framework DrupalCon Prague
VoIP Drupal Framework DrupalCon Prague
Tamer Zoubi
TYPO3 Flow a solid foundation for medialib.tv
TYPO3 Flow a solid foundation for medialib.tvTYPO3 Flow a solid foundation for medialib.tv
TYPO3 Flow a solid foundation for medialib.tv
dfeyer
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
IBM Watson
Get More From Your Messages with Twilio + Watson Add-Ons
Get More From Your Messages with Twilio + Watson Add-OnsGet More From Your Messages with Twilio + Watson Add-Ons
Get More From Your Messages with Twilio + Watson Add-Ons
IBM Watson
Shaan diwanji twilio company report
Shaan diwanji twilio company reportShaan diwanji twilio company report
Shaan diwanji twilio company report
Shaan Diwanji
Voice Enabling your Applications with Twilio
Voice Enabling your Applications with TwilioVoice Enabling your Applications with Twilio
Voice Enabling your Applications with Twilio
Jim Schweitzer
Image Recognition in WhatsApp chatbots.pptx
Image Recognition in WhatsApp chatbots.pptxImage Recognition in WhatsApp chatbots.pptx
Image Recognition in WhatsApp chatbots.pptx
Luis Beltran
Mobicents Summit 2012 - Jonas Borjesson - Introduction to Twilio
Mobicents Summit 2012 - Jonas Borjesson - Introduction to TwilioMobicents Summit 2012 - Jonas Borjesson - Introduction to Twilio
Mobicents Summit 2012 - Jonas Borjesson - Introduction to Twilio
telestax
Conversation With Your Application Using DialogFlow and CloudFunctions
Conversation With Your Application Using DialogFlow and CloudFunctionsConversation With Your Application Using DialogFlow and CloudFunctions
Conversation With Your Application Using DialogFlow and CloudFunctions
Cliffano Subagio
Twilio - The Cloud Communications Platform
Twilio - The Cloud Communications PlatformTwilio - The Cloud Communications Platform
Twilio - The Cloud Communications Platform
Andrew Bo
Telephony with OpenShift Twilio and MongoDB
Telephony with OpenShift Twilio and MongoDBTelephony with OpenShift Twilio and MongoDB
Telephony with OpenShift Twilio and MongoDB
Mark Atwood
Twilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep DiveTwilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep Dive
Twilio Inc
Tropo Presentation
Tropo PresentationTropo Presentation
Tropo Presentation
Mark Headd
Promo Voip Drupal Hands On Experience Webinar
Promo Voip Drupal Hands On Experience WebinarPromo Voip Drupal Hands On Experience Webinar
Promo Voip Drupal Hands On Experience Webinar
Micky Metts

Recently uploaded (20)

SOC as a Service 24/7 Threat Monitoring and Response
SOC as a Service  24/7 Threat Monitoring and ResponseSOC as a Service  24/7 Threat Monitoring and Response
SOC as a Service 24/7 Threat Monitoring and Response
Cybercops
"Conflicts within a Team: Not an Enemy, But an Opportunity for Growth", Orest...
"Conflicts within a Team: Not an Enemy, But an Opportunity for Growth", Orest..."Conflicts within a Team: Not an Enemy, But an Opportunity for Growth", Orest...
"Conflicts within a Team: Not an Enemy, But an Opportunity for Growth", Orest...
Fwdays
20250314_Kit-Works Team Study_JAVA Record.pdf
20250314_Kit-Works Team Study_JAVA Record.pdf20250314_Kit-Works Team Study_JAVA Record.pdf
20250314_Kit-Works Team Study_JAVA Record.pdf
Wonjun Hwang
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2
Slack Social Meetup Connect, Collaborate & Grow!.pptx
Slack Social Meetup Connect, Collaborate & Grow!.pptxSlack Social Meetup Connect, Collaborate & Grow!.pptx
Slack Social Meetup Connect, Collaborate & Grow!.pptx
SanjeetMishra29
Emancipatory Information Retrieval (Invited Talk at UCC)
Emancipatory Information Retrieval (Invited Talk at UCC)Emancipatory Information Retrieval (Invited Talk at UCC)
Emancipatory Information Retrieval (Invited Talk at UCC)
Bhaskar Mitra
"AI-Driven Automation for High-Performing Teams: Optimize Routine Tasks & Lea...
"AI-Driven Automation for High-Performing Teams: Optimize Routine Tasks & Lea..."AI-Driven Automation for High-Performing Teams: Optimize Routine Tasks & Lea...
"AI-Driven Automation for High-Performing Teams: Optimize Routine Tasks & Lea...
Fwdays
Google News Consideration for SEO | Google Search NYC
Google News Consideration for SEO | Google Search NYCGoogle News Consideration for SEO | Google Search NYC
Google News Consideration for SEO | Google Search NYC
Primary Position
Spin Glass Models of Neural Networks: The Curie-Weiss Model from Statistical ...
Spin Glass Models of Neural Networks: The Curie-Weiss Model from Statistical ...Spin Glass Models of Neural Networks: The Curie-Weiss Model from Statistical ...
Spin Glass Models of Neural Networks: The Curie-Weiss Model from Statistical ...
Charles Martin
Comprehensive Guide to Ansible Application Roles.pdf
Comprehensive Guide to Ansible Application Roles.pdfComprehensive Guide to Ansible Application Roles.pdf
Comprehensive Guide to Ansible Application Roles.pdf
RHCSA Guru
Digital Twins Transforming Logistics with AI & Cloud
Digital Twins  Transforming Logistics  with AI & CloudDigital Twins  Transforming Logistics  with AI & Cloud
Digital Twins Transforming Logistics with AI & Cloud
yashakhandelwal2
[QUICK TALK] "How to study to acquire a skill, not a certificate?", Uliana Du...
[QUICK TALK] "How to study to acquire a skill, not a certificate?", Uliana Du...[QUICK TALK] "How to study to acquire a skill, not a certificate?", Uliana Du...
[QUICK TALK] "How to study to acquire a skill, not a certificate?", Uliana Du...
Fwdays
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
Jason Yip
Software-Engineering-and-Best-Practices.
Software-Engineering-and-Best-Practices.Software-Engineering-and-Best-Practices.
Software-Engineering-and-Best-Practices.
oziasrondonc
Measuring Copilot and Gen AI Success with Viva Insights and Purview
Measuring Copilot and Gen AI Success with Viva Insights and PurviewMeasuring Copilot and Gen AI Success with Viva Insights and Purview
Measuring Copilot and Gen AI Success with Viva Insights and Purview
Nikki Chapple
CSUN 2025 - Personalization of Accessible Charts and Graphs.pptx
CSUN 2025 - Personalization of Accessible Charts and Graphs.pptxCSUN 2025 - Personalization of Accessible Charts and Graphs.pptx
CSUN 2025 - Personalization of Accessible Charts and Graphs.pptx
ystein Moseng
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2
UiPath Automation Developer Associate Training Series 2025 - Session 6
UiPath Automation Developer Associate Training Series 2025 - Session 6UiPath Automation Developer Associate Training Series 2025 - Session 6
UiPath Automation Developer Associate Training Series 2025 - Session 6
DianaGray10
"Surfing the IT Waves: How Not to Drown in the Information Ocean", Serhii Nem...
"Surfing the IT Waves: How Not to Drown in the Information Ocean", Serhii Nem..."Surfing the IT Waves: How Not to Drown in the Information Ocean", Serhii Nem...
"Surfing the IT Waves: How Not to Drown in the Information Ocean", Serhii Nem...
Fwdays
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on CodeWSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2
SOC as a Service 24/7 Threat Monitoring and Response
SOC as a Service  24/7 Threat Monitoring and ResponseSOC as a Service  24/7 Threat Monitoring and Response
SOC as a Service 24/7 Threat Monitoring and Response
Cybercops
"Conflicts within a Team: Not an Enemy, But an Opportunity for Growth", Orest...
"Conflicts within a Team: Not an Enemy, But an Opportunity for Growth", Orest..."Conflicts within a Team: Not an Enemy, But an Opportunity for Growth", Orest...
"Conflicts within a Team: Not an Enemy, But an Opportunity for Growth", Orest...
Fwdays
20250314_Kit-Works Team Study_JAVA Record.pdf
20250314_Kit-Works Team Study_JAVA Record.pdf20250314_Kit-Works Team Study_JAVA Record.pdf
20250314_Kit-Works Team Study_JAVA Record.pdf
Wonjun Hwang
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2
Slack Social Meetup Connect, Collaborate & Grow!.pptx
Slack Social Meetup Connect, Collaborate & Grow!.pptxSlack Social Meetup Connect, Collaborate & Grow!.pptx
Slack Social Meetup Connect, Collaborate & Grow!.pptx
SanjeetMishra29
Emancipatory Information Retrieval (Invited Talk at UCC)
Emancipatory Information Retrieval (Invited Talk at UCC)Emancipatory Information Retrieval (Invited Talk at UCC)
Emancipatory Information Retrieval (Invited Talk at UCC)
Bhaskar Mitra
"AI-Driven Automation for High-Performing Teams: Optimize Routine Tasks & Lea...
"AI-Driven Automation for High-Performing Teams: Optimize Routine Tasks & Lea..."AI-Driven Automation for High-Performing Teams: Optimize Routine Tasks & Lea...
"AI-Driven Automation for High-Performing Teams: Optimize Routine Tasks & Lea...
Fwdays
Google News Consideration for SEO | Google Search NYC
Google News Consideration for SEO | Google Search NYCGoogle News Consideration for SEO | Google Search NYC
Google News Consideration for SEO | Google Search NYC
Primary Position
Spin Glass Models of Neural Networks: The Curie-Weiss Model from Statistical ...
Spin Glass Models of Neural Networks: The Curie-Weiss Model from Statistical ...Spin Glass Models of Neural Networks: The Curie-Weiss Model from Statistical ...
Spin Glass Models of Neural Networks: The Curie-Weiss Model from Statistical ...
Charles Martin
Comprehensive Guide to Ansible Application Roles.pdf
Comprehensive Guide to Ansible Application Roles.pdfComprehensive Guide to Ansible Application Roles.pdf
Comprehensive Guide to Ansible Application Roles.pdf
RHCSA Guru
Digital Twins Transforming Logistics with AI & Cloud
Digital Twins  Transforming Logistics  with AI & CloudDigital Twins  Transforming Logistics  with AI & Cloud
Digital Twins Transforming Logistics with AI & Cloud
yashakhandelwal2
[QUICK TALK] "How to study to acquire a skill, not a certificate?", Uliana Du...
[QUICK TALK] "How to study to acquire a skill, not a certificate?", Uliana Du...[QUICK TALK] "How to study to acquire a skill, not a certificate?", Uliana Du...
[QUICK TALK] "How to study to acquire a skill, not a certificate?", Uliana Du...
Fwdays
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
Jason Yip
Software-Engineering-and-Best-Practices.
Software-Engineering-and-Best-Practices.Software-Engineering-and-Best-Practices.
Software-Engineering-and-Best-Practices.
oziasrondonc
Measuring Copilot and Gen AI Success with Viva Insights and Purview
Measuring Copilot and Gen AI Success with Viva Insights and PurviewMeasuring Copilot and Gen AI Success with Viva Insights and Purview
Measuring Copilot and Gen AI Success with Viva Insights and Purview
Nikki Chapple
CSUN 2025 - Personalization of Accessible Charts and Graphs.pptx
CSUN 2025 - Personalization of Accessible Charts and Graphs.pptxCSUN 2025 - Personalization of Accessible Charts and Graphs.pptx
CSUN 2025 - Personalization of Accessible Charts and Graphs.pptx
ystein Moseng
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2
UiPath Automation Developer Associate Training Series 2025 - Session 6
UiPath Automation Developer Associate Training Series 2025 - Session 6UiPath Automation Developer Associate Training Series 2025 - Session 6
UiPath Automation Developer Associate Training Series 2025 - Session 6
DianaGray10
"Surfing the IT Waves: How Not to Drown in the Information Ocean", Serhii Nem...
"Surfing the IT Waves: How Not to Drown in the Information Ocean", Serhii Nem..."Surfing the IT Waves: How Not to Drown in the Information Ocean", Serhii Nem...
"Surfing the IT Waves: How Not to Drown in the Information Ocean", Serhii Nem...
Fwdays
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on CodeWSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2

Twilio using Groovy Grails

  • 1. Twilio THE CLOUD COMMUNICATIONS PLATFORM By - Ali Tanwir
  • 2. Agenda Introduction How does it work? Get Set Go! About Twilio API Features of Twilio Benefits of Twilio Demo References
  • 3. I am Ali Tanwir Hello! You can email me at ali.tanwir@nexthoughts.com
  • 5. Focus your resources and time on tailoring experiences, not building from scratch.
  • 6. TWILIO was founded in 2007 by Jeff Lawson, Evan Cooke, and John Wolthuis and was originally based in both Seattle, Washington, and San Francisco, California. It is a cloud communications platform which allows software developers to programmatically make and receive phone calls and send and receive text messages using its web service APIs. TWILIO API have support for various languages like - PHP, .NET (C#), PYTHON, JAVA, RUBY
  • 7. How does it works?2 How message are handled by Twilio
  • 8. How message sending works 1 User sends SMS TWILIO Application 2 Twilio pings Application 3 Application connects with DB to retrieve data Database 4 DB returns the data 5 Application sends SMS via Twilio API 6 User receives SMS via Twilio API
  • 10. Add Twilio dependency into your application BuildConfig.groovy file, Create an account in Twilio https://www.twilio.com/ Get verified your mobile number Get a Twilio phone number Write a code using Twilio helper libraries for handling calls and messages Set the POST url for the number which will call your application action All set! To starting sending/receiving messages or making calls dependencies{ compile 'com.twilio.sdk:twilio-java- sdk:3.4.5' }
  • 11. Know Twilio API - REST API & TwiML About TWILIO API4
  • 12. REST API The Twilio REST API allows you to query meta-data about your account, phone numbers, calls, text messages, and recordings. You can also do some fancy things like initiate outbound calls and send text messages. For reference: https://www.twilio.com/docs/api/rest https://www.twilio.com/docs/api/rest/send ing-messages Twilio - REST API & TwiML TwiML The Twilio Markup Language is a set of instructions you can use to tell Twilio what to do when you receive an incoming call or SMS. TwiML is similar to HTML. Only one TwiML document is rendered to the caller at once, but many documents can be linked together to build complex interactive voice applications. For reference: https://www.twilio.com/docs/api/twiml
  • 13. Features of TWILIO5 Messaging API, Voice API and Twilio Clients
  • 14. Twilio MESSAGE API Receive SMS and MMS messages to your Twilio phone numbers and reply back with SMS and MMS messages Send SMS and MMS messages using Twilio's REST API Track SMS conversations Send SMS messages during phone calls
  • 15. Twilio VOICE API Play audio and text Record audio Conferencing Real time status Global reach Convert speech to text
  • 16. Twilio CLIENTS Lets any browser, phone or tablet interact using only a data connection. Using Twilio you can embed voice directly into your web, iPhone or Android apps.
  • 18. Twilio Benefits Set geographic permission for messaging and calling Monitor your API Maintain log details Can export CSV of logs Can use TWILIO API with - PHP, .NET (C#), PYTHON, NODE Js, JAVA, RUBY
  • 20. References Twilio Tutorials https://www.twilio.com/docs/tutorials REST API: Sending SMS or MMS https://www.twilio.com/docs/api/rest/sending-messages REST API: Calls https://www.twilio.com/docs/api/rest/call Twilio API Explorer https://www.twilio.com/user/account/developer-tools/api- explorer/message-create REST API Test Credentials https://www.twilio.com/docs/api/rest/test- credentials PPT overview http://www.slideshare.net/naincygupta35574/twilio- sms?qid=da65045e-a26d-4491-8f26-eeacf1fb6a43&v=&b=&from_search=46 8
  • 21. Any questions ? You can email me at ali.tanwir@nexthoughts.com You can find the code used with this presentation at: https://bitbucket.org/alitanwir/twilio-using-groovy- grails-demo Thanks!