SendGrid webhook adapter - OXYGEN-MARKET/oxygen-market.github.io GitHub Wiki
HOME > SNOWPLOW TECHNICAL DOCUMENTATION > Webhooks > SendGrid webhook adapter
- 1 Overview
- 2 Implementation
- 2.1 Event source
- 2.2 Snowplow adapter
- 3 Events
- 4 See also
This webhook adapter lets you track a variety of events logged by SendGrid.
Details of the SendGrid webhook format as of 12th November 2015.
SendGrid sends events as a POST request with all information in the body, with application/json as the content type.
Implementation: SendGrid
SendGrid webhook support was implemented in Snowplow 75 Long-Legged Buzzard.
All resources for this webhook's events:
| Event | JSON Schema | JSON Paths | Redshift Table |
|---|---|---|---|
| Processed | processed 1-0-0 | processed_1.json | com_sendgrid_processed_1.sql |
| Dropped | dropped 1-0-0 | dropped_1.json | com_sendgrid_dropped_1.sql |
| Delivered | delivered 1-0-0 | delivered_1.json | com_sendgrid_delivered_1.sql |
| Deferred | deferred 1-0-0 | deferred_1.json | com_sendgrid_deferred_1.sql |
| Bounce | bounce 1-0-0 | bounce_1.json | com_sendgrgid_bounce_1.sql |
| Open | open 1-0-0 | open_1.json | com_sendgrid_open_1.sql |
| Click | click 1-0-0 | click_1.json | com_sendgrid_click_1.sql |
| Spam Report | spam_report 1-0-0 | spam_report_1.json | com_sendgrid_spam_report_1.sql |
| Unsubscribe | unsubscribe 1-0-0 | unsubscribe_1.json | com_sendgrid_unsubscribe_1.sql |
| Group Unsubscribe | group_unsubscribe 1-0-0 | group_unsubscribe_1.json | com_sendgrid_group_unsubscribe_1.sql |
| Group Resubscribe | group_resubscribe 1-0-0 | group_resubscribe_1.json | com_sendgrid_resubscribe_1.sql |