SlideShare uma empresa Scribd logo
1 de 19
The Power of Email APIs
            Presenters:
     Swift and Brandon West
Swift
   swift@sendgrid.com
    @SwiftAlphaOne



      Brandon West
brandon.west@sendgrid.com
     @brandonmwest



                        #SGWebinar
What is SendGrid?

• Cloud-based SMTP provider
• Massively scalable
• Analytics on emails you send
• Robust APIS for developers to integrate




                                    #SGWebinar
SendGrid APIs




SendGrid is more than just SMTP Relay...

                                   #SGWebinar
Overview of the SendGrid APIs

  • SMTP API        • Inbound Parse
  • Web API           Webhook
  • Event Webhook   • Reseller API




                    API



                                      #SGWebinar
SMTP API
• Custom SMTP header that contains
  instructions on how to process your
  email

   • Define multiple recipients
   • Text Substitutions
   • Categories
   •Unique arguments / Identifiers

                                    #SGWebinar
SMTP API
• Example
  X-SMTPAPI: {
    "category": "billing_notifications"
    "unique_args": {
       "user_id": "12345"
    },
    "sub": {
       "%amount%": "$9.95"
    }
  }
                                   #SGWebinar
Web API
• Send mail or manipulate SendGrid settings
  via HTTP

• Anything (almost) you can do from the
  • Edit profile / account information
  • Add new Incoming Parse endpoints
  • Retrieve stats
  • Manage lists (Bounces, Blocks, Unsubscribes, etc.)
  • Add / Remove filters (apps)
                                             #SGWebinar
Web API
• If you don’t have access to SMTP, you can
  use the Web API to send email over HTTP

  curl   -X POST http://sendgrid.com/api/mail.send.json 
    -d   “to=john@example.com” 
    -d   “from=hello@myapp.com” 
    -d   “subject=hello world email” 
    -d   “text=some body text” 
    -d   “api_user=your_sendgrid_username” 
    -d   “api_key=your_sendgrid_key”




                                                      #SGWebinar
Webhooks
• Webhooks are like an inverse API call;
  you define the endpoint, and we POST



                   WEB
                  HOOK




                                    #SGWebinar
Event Notification Webhook
Receive notifications when SendGrid events happen


                         POST



 •Processed   •Opened
 •Dropped     •Clicked          Your Application receives
 •Delivered   •Spam                   an event POST
 •Bounced     Reported            (like a form submit)




                                                 #SGWebinar
Event Notification Webhook

  What does an event notification look like?

  {
      "email":"john@example.com",
      "timestamp": 1322000095,
      "unique_arg":"some argument",
      "event":"delivered"
  }



                                       #SGWebinar
Inbound Parse Webhook
Lets you receive email in your application


            EMAIL                POST




1. User sends email to *@yourapplication.com
2. SendGrid parses email & attachments
3. SendGrid POSTs the email to your application

                                            #SGWebinar
Inbound Parse Webhook
                  (Setup Guide)
1. Configure your hostname and URL settings

   http://sendgrid.com/developer/reply

2. Point your domain’s MX records at SendGrid

     Type       Value
     MX         0 mx.sendgrid.net
3. Return a 200 status code from your application


                                                #SGWebinar
Additional APIs
• Customer Subuser API
 – Manage and control subuser accounts

• Reseller API
 – For partners that want to integrate their
  platform with SendGrid




                                          #SGWebinar
Demo Time!


             #SGWebinar
Questions?


             #SGWebinar
Resources

• Documentation: http://
  docs.sendgrid.com/
• Official Libraries: https://github.com/
  sendgrid/




                                     #SGWebinar
Swift
   swift@sendgrid.com
    @SwiftAlphaOne



      Brandon West
brandon.west@sendgrid.com
     @brandonmwest



                        #SGWebinar

Mais conteúdo relacionado

Mais de SendGrid

Email Marketing 101: Who are you emailing?
Email Marketing 101: Who are you emailing?Email Marketing 101: Who are you emailing?
Email Marketing 101: Who are you emailing?SendGrid
 
Email Marketing 101: The Welcome Email
Email Marketing 101: The Welcome EmailEmail Marketing 101: The Welcome Email
Email Marketing 101: The Welcome EmailSendGrid
 
5 Reasons Why Your Subscribers Aren't Reading Your Email
5 Reasons Why Your Subscribers Aren't Reading Your Email5 Reasons Why Your Subscribers Aren't Reading Your Email
5 Reasons Why Your Subscribers Aren't Reading Your EmailSendGrid
 
Email Marketing 101: Content
Email Marketing 101: ContentEmail Marketing 101: Content
Email Marketing 101: ContentSendGrid
 
Your Holiday Email Pre-Send Checklist
Your Holiday Email Pre-Send ChecklistYour Holiday Email Pre-Send Checklist
Your Holiday Email Pre-Send ChecklistSendGrid
 
Tips and Tricks to Stay Out of the Spam Folder
Tips and Tricks to Stay Out of the Spam FolderTips and Tricks to Stay Out of the Spam Folder
Tips and Tricks to Stay Out of the Spam FolderSendGrid
 
Email Deliverability 101: Best Practices to Master the Inbox
Email Deliverability 101: Best Practices to Master the InboxEmail Deliverability 101: Best Practices to Master the Inbox
Email Deliverability 101: Best Practices to Master the InboxSendGrid
 
Be an Email Switch Hitter: Inside SendGrid's Parse Webhook
Be an Email Switch Hitter: Inside SendGrid's Parse WebhookBe an Email Switch Hitter: Inside SendGrid's Parse Webhook
Be an Email Switch Hitter: Inside SendGrid's Parse WebhookSendGrid
 
Make Transactional Email Your Superhero: Keys to Optimization and Testing Suc...
Make Transactional Email Your Superhero: Keys to Optimization and Testing Suc...Make Transactional Email Your Superhero: Keys to Optimization and Testing Suc...
Make Transactional Email Your Superhero: Keys to Optimization and Testing Suc...SendGrid
 
TechStars Demo Day 2009
TechStars Demo Day 2009TechStars Demo Day 2009
TechStars Demo Day 2009SendGrid
 
ISPs Like It Hot: How to Warm Up an IP
ISPs Like It Hot: How to Warm Up an IPISPs Like It Hot: How to Warm Up an IP
ISPs Like It Hot: How to Warm Up an IPSendGrid
 
[Webcast] Communicating Your Code
[Webcast] Communicating Your Code[Webcast] Communicating Your Code
[Webcast] Communicating Your CodeSendGrid
 
Automate the Next Level of Email Sophistication: Engage the Event API
Automate the Next Level of Email Sophistication: Engage the Event APIAutomate the Next Level of Email Sophistication: Engage the Event API
Automate the Next Level of Email Sophistication: Engage the Event APISendGrid
 
Ask an Expert! Getting Started with Email Deliverability
Ask an Expert! Getting Started with Email DeliverabilityAsk an Expert! Getting Started with Email Deliverability
Ask an Expert! Getting Started with Email DeliverabilitySendGrid
 
[Webcast] How to Get Your Email Marketing Off the Ground
[Webcast] How to Get Your Email Marketing Off the Ground[Webcast] How to Get Your Email Marketing Off the Ground
[Webcast] How to Get Your Email Marketing Off the GroundSendGrid
 
Build or Buy? Moving Your Email to the Cloud
Build or Buy? Moving Your Email to the CloudBuild or Buy? Moving Your Email to the Cloud
Build or Buy? Moving Your Email to the CloudSendGrid
 
Q&A: Your Toughest Email Infrastructure Questions Answered
Q&A: Your Toughest Email Infrastructure Questions AnsweredQ&A: Your Toughest Email Infrastructure Questions Answered
Q&A: Your Toughest Email Infrastructure Questions AnsweredSendGrid
 
Q&A: Tips and Tricks to Stay Out of the Spam Folder
Q&A: Tips and Tricks to Stay Out of the Spam FolderQ&A: Tips and Tricks to Stay Out of the Spam Folder
Q&A: Tips and Tricks to Stay Out of the Spam FolderSendGrid
 
Best of Both Worlds: How SendGrid's Founder and CEO Work Together to Combine ...
Best of Both Worlds: How SendGrid's Founder and CEO Work Together to Combine ...Best of Both Worlds: How SendGrid's Founder and CEO Work Together to Combine ...
Best of Both Worlds: How SendGrid's Founder and CEO Work Together to Combine ...SendGrid
 
SendGridDelivered_API_Workshop
SendGridDelivered_API_WorkshopSendGridDelivered_API_Workshop
SendGridDelivered_API_WorkshopSendGrid
 

Mais de SendGrid (20)

Email Marketing 101: Who are you emailing?
Email Marketing 101: Who are you emailing?Email Marketing 101: Who are you emailing?
Email Marketing 101: Who are you emailing?
 
Email Marketing 101: The Welcome Email
Email Marketing 101: The Welcome EmailEmail Marketing 101: The Welcome Email
Email Marketing 101: The Welcome Email
 
5 Reasons Why Your Subscribers Aren't Reading Your Email
5 Reasons Why Your Subscribers Aren't Reading Your Email5 Reasons Why Your Subscribers Aren't Reading Your Email
5 Reasons Why Your Subscribers Aren't Reading Your Email
 
Email Marketing 101: Content
Email Marketing 101: ContentEmail Marketing 101: Content
Email Marketing 101: Content
 
Your Holiday Email Pre-Send Checklist
Your Holiday Email Pre-Send ChecklistYour Holiday Email Pre-Send Checklist
Your Holiday Email Pre-Send Checklist
 
Tips and Tricks to Stay Out of the Spam Folder
Tips and Tricks to Stay Out of the Spam FolderTips and Tricks to Stay Out of the Spam Folder
Tips and Tricks to Stay Out of the Spam Folder
 
Email Deliverability 101: Best Practices to Master the Inbox
Email Deliverability 101: Best Practices to Master the InboxEmail Deliverability 101: Best Practices to Master the Inbox
Email Deliverability 101: Best Practices to Master the Inbox
 
Be an Email Switch Hitter: Inside SendGrid's Parse Webhook
Be an Email Switch Hitter: Inside SendGrid's Parse WebhookBe an Email Switch Hitter: Inside SendGrid's Parse Webhook
Be an Email Switch Hitter: Inside SendGrid's Parse Webhook
 
Make Transactional Email Your Superhero: Keys to Optimization and Testing Suc...
Make Transactional Email Your Superhero: Keys to Optimization and Testing Suc...Make Transactional Email Your Superhero: Keys to Optimization and Testing Suc...
Make Transactional Email Your Superhero: Keys to Optimization and Testing Suc...
 
TechStars Demo Day 2009
TechStars Demo Day 2009TechStars Demo Day 2009
TechStars Demo Day 2009
 
ISPs Like It Hot: How to Warm Up an IP
ISPs Like It Hot: How to Warm Up an IPISPs Like It Hot: How to Warm Up an IP
ISPs Like It Hot: How to Warm Up an IP
 
[Webcast] Communicating Your Code
[Webcast] Communicating Your Code[Webcast] Communicating Your Code
[Webcast] Communicating Your Code
 
Automate the Next Level of Email Sophistication: Engage the Event API
Automate the Next Level of Email Sophistication: Engage the Event APIAutomate the Next Level of Email Sophistication: Engage the Event API
Automate the Next Level of Email Sophistication: Engage the Event API
 
Ask an Expert! Getting Started with Email Deliverability
Ask an Expert! Getting Started with Email DeliverabilityAsk an Expert! Getting Started with Email Deliverability
Ask an Expert! Getting Started with Email Deliverability
 
[Webcast] How to Get Your Email Marketing Off the Ground
[Webcast] How to Get Your Email Marketing Off the Ground[Webcast] How to Get Your Email Marketing Off the Ground
[Webcast] How to Get Your Email Marketing Off the Ground
 
Build or Buy? Moving Your Email to the Cloud
Build or Buy? Moving Your Email to the CloudBuild or Buy? Moving Your Email to the Cloud
Build or Buy? Moving Your Email to the Cloud
 
Q&A: Your Toughest Email Infrastructure Questions Answered
Q&A: Your Toughest Email Infrastructure Questions AnsweredQ&A: Your Toughest Email Infrastructure Questions Answered
Q&A: Your Toughest Email Infrastructure Questions Answered
 
Q&A: Tips and Tricks to Stay Out of the Spam Folder
Q&A: Tips and Tricks to Stay Out of the Spam FolderQ&A: Tips and Tricks to Stay Out of the Spam Folder
Q&A: Tips and Tricks to Stay Out of the Spam Folder
 
Best of Both Worlds: How SendGrid's Founder and CEO Work Together to Combine ...
Best of Both Worlds: How SendGrid's Founder and CEO Work Together to Combine ...Best of Both Worlds: How SendGrid's Founder and CEO Work Together to Combine ...
Best of Both Worlds: How SendGrid's Founder and CEO Work Together to Combine ...
 
SendGridDelivered_API_Workshop
SendGridDelivered_API_WorkshopSendGridDelivered_API_Workshop
SendGridDelivered_API_Workshop
 

Último

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Último (20)

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

The Power of Email APIs

  • 1. The Power of Email APIs Presenters: Swift and Brandon West
  • 2. Swift swift@sendgrid.com @SwiftAlphaOne Brandon West brandon.west@sendgrid.com @brandonmwest #SGWebinar
  • 3. What is SendGrid? • Cloud-based SMTP provider • Massively scalable • Analytics on emails you send • Robust APIS for developers to integrate #SGWebinar
  • 4. SendGrid APIs SendGrid is more than just SMTP Relay... #SGWebinar
  • 5. Overview of the SendGrid APIs • SMTP API • Inbound Parse • Web API Webhook • Event Webhook • Reseller API API #SGWebinar
  • 6. SMTP API • Custom SMTP header that contains instructions on how to process your email • Define multiple recipients • Text Substitutions • Categories •Unique arguments / Identifiers #SGWebinar
  • 7. SMTP API • Example X-SMTPAPI: { "category": "billing_notifications" "unique_args": { "user_id": "12345" }, "sub": { "%amount%": "$9.95" } } #SGWebinar
  • 8. Web API • Send mail or manipulate SendGrid settings via HTTP • Anything (almost) you can do from the • Edit profile / account information • Add new Incoming Parse endpoints • Retrieve stats • Manage lists (Bounces, Blocks, Unsubscribes, etc.) • Add / Remove filters (apps) #SGWebinar
  • 9. Web API • If you don’t have access to SMTP, you can use the Web API to send email over HTTP curl -X POST http://sendgrid.com/api/mail.send.json -d “to=john@example.com” -d “from=hello@myapp.com” -d “subject=hello world email” -d “text=some body text” -d “api_user=your_sendgrid_username” -d “api_key=your_sendgrid_key” #SGWebinar
  • 10. Webhooks • Webhooks are like an inverse API call; you define the endpoint, and we POST WEB HOOK #SGWebinar
  • 11. Event Notification Webhook Receive notifications when SendGrid events happen POST •Processed •Opened •Dropped •Clicked Your Application receives •Delivered •Spam an event POST •Bounced Reported (like a form submit) #SGWebinar
  • 12. Event Notification Webhook What does an event notification look like? { "email":"john@example.com", "timestamp": 1322000095, "unique_arg":"some argument", "event":"delivered" } #SGWebinar
  • 13. Inbound Parse Webhook Lets you receive email in your application EMAIL POST 1. User sends email to *@yourapplication.com 2. SendGrid parses email & attachments 3. SendGrid POSTs the email to your application #SGWebinar
  • 14. Inbound Parse Webhook (Setup Guide) 1. Configure your hostname and URL settings http://sendgrid.com/developer/reply 2. Point your domain’s MX records at SendGrid Type Value MX 0 mx.sendgrid.net 3. Return a 200 status code from your application #SGWebinar
  • 15. Additional APIs • Customer Subuser API – Manage and control subuser accounts • Reseller API – For partners that want to integrate their platform with SendGrid #SGWebinar
  • 16. Demo Time! #SGWebinar
  • 17. Questions? #SGWebinar
  • 18. Resources • Documentation: http:// docs.sendgrid.com/ • Official Libraries: https://github.com/ sendgrid/ #SGWebinar
  • 19. Swift swift@sendgrid.com @SwiftAlphaOne Brandon West brandon.west@sendgrid.com @brandonmwest #SGWebinar

Notas do Editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. Possible use cases:\n - Respond to discussions\n - Upload file attachments\n - Post blog articles\n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n