狠狠撸

狠狠撸Share a Scribd company logo
APIs and Webhooks to control
the email experience
Kunal Batra
Developer Evangelist
Developer Focused
3
5
2+
7
API
s
Webhooks
Simple
SendGrid Services
Structure
What are APIs & Webhooks ?
Built businesses Around our APIs
Hacks around our APIs
Our Services
5
Application
Programmer
Interface
6
7
What is an API?
8
Why do we need it ?
9
SMTP API
“category”: [
“trial_users”,
“daily_digest”
]
“sub”: {
“%name%”:
[“Rick”, “Roll”]
}
“unique_args”: {
“user_id”: “12345”,
“order_num”: “67890”
}
10
Web API
11
Email Marketing
Robust API for all features
12
Sub-user API
Create Sub-users programmatically
Set Limits, Assign IPs
Manage: Stats & more…
13
Reseller API
Formal SendGrid Partners
partnerships@sendgrid.co
m
14
5 APIs
SMTP
Sub-user
Web
Marketin
g
Reseller
15
What is a Webhook ?
16
Event Notifications Webhook
17
Spam report
Unsubscribe
Bounce
Open
Click
18
Anatomy of a Single Event
{
"timestamp": "1234567890",
"sg_event_id": "5555",
"email": "adam@example.com",
"event": "click",
"url": "http://sendgrid.com",
"unique_args":
{
"user_id": "1123"
},
"category": ["trial", "daily"]
}
19
Detailed Dashboards
20
Getting Started Without Code
21
Inbound Parse Webhook
POSTEMAIL
Including attachments
Applications built by
busineses
23
Social
24
Customer Service
25
Content Management
26
50% of Fancy Hands’ tasks are created via email.
Applications built by the
developer relations team
28
Photo to Text
29
Fight Pokemon with Email
30
Choose a First Drink
31
Change the Lights
Try it now!

More Related Content

Sgd kunal

Editor's Notes

  1. https://www.flickr.com/photos/derek_b/7918625026 Derek Bridges