A webhook is an HTTP callback that allows a web application to POST a message to a URL when certain events take place. Often called “Reverse APIs,” Webhooks can be used to receive data in real time, pass it on to another application, or process the data faster than traditional APIs.
Some of the traditional APIs that SendGrid provides include:
While webhooks are traditionally more complex to set up, the speed and efficiency of webhooks have increased their popularity in the developer community. There are 3 main types of webhooks:
SendGrid’s Event Webhook combines the push, pipe, and plugin capabilities listed above. The Event Webhook notifies a URL via HTTP POST about events that take place with your email in the SendGrid platform. The Event Webhook then captures email-specific data related to unsubscribes, spam reports, bounced emails, and response data, and reports them in the manner in which you specify.
With the Event Webhook, users can create advanced email analytics, customize the delivery of your email analytics to their platform, set up triggered email campaigns synced to third-party platforms, and insert dynamic data. In all, there are 9 email events that can be captured.
Using the SendGrid Event Webhook allows users to follow the email best practices that will increase their email deliverability. For instance, by immediately responding to bounces, unsubscribes, and spam reports, users can ensure that they’re always sending to a clean list. By using the open and click tracking, they can remove unresponsive users and ensure that they’re always sending to a highly engaged list.
To help users take full advantage of the Event Webhook, SendGrid has also created the EventKit. The SendGrid EventKit allows users to create a user-friendly app where they download a PHP script and then upload it to their server in order to take advantage of the Event Webhook. You can learn more by visiting the EventKit blog post.
In addition to the Event Webhook, SendGrid has also created the Parse Webhook to improve engagement with recipients. The SendGrid Parse Webhook allows users to parse the contents and attachments of messages. Using Parse Webhook, SendGrid users can post blog articles or receive uploads directly from email replies. The webhook will then POST the parsed portions of the email to a URL specified by the user.
SendGrid provides a full-service solution for solving your total email delivery needs. We’re the world’s largest email infrastructure as a service provider working hand in hand with developers to ensure that we’re providing tools and services that solve real-world problems.