Skip to main content


Thumbnail icon

SendGrid is a cloud-based email delivery and management platform that helps businesses send transactional and marketing emails reliably and efficiently. You can use a webhook in the SendGrid platform to forward email actions related events to the Sumo Logic HTTP endpoint. Using these logs, you can monitor recipient engagement, track email delivery status, and respond to events like opens, clicks, bounces, unsubscribes, and spam reports in Sumo Logic. For more details, refer to the SendGrid Documentation.

Event types

The Sumo Logic integration for SendGrid ingests SendGrid deliverability events and engagement events into Sumo Logic through an outgoing webhook available in SendGrid. The following event types are ingested through the SendGrid webhook:

  • Processed
  • Dropped
  • Deferred
  • Bounced
  • Delivered
  • Opened
  • Clicked
  • Unsubscribed
  • Spam Reports
  • Group Unsubscribes
  • Group Resubscribes


This section has instructions for collecting logs for the Sumo Logic SendGrid webhook collection.

Source configuration

Follow the below steps to configure the Hosted Collector to receive SendGrid events:

  1. In the Sumo Logic portal, create a new Hosted Collector or use an existing one. Then add an HTTP Logs and Metrics Source.
  2. Configure Source Category in the HTTP Source - for example, webhook/sendgrid - for the SendGrid integration.
  3. Copy and save the endpoint URL of the source.

Vendor configuration

Configure the webhook integration in SendGrid to send events to the Sumo Logic HTTP source. Once configured, it will be triggered each time the events occur within your SendGrid account.

Follow the below steps to configure the SendGrid Webhook:

  1. Sign in to your SendGrid account.
  2. Navigate to Mail Settings from the Settings section.
  3. Click Event Webhooks under the Webhook Settings.
  4. Click Create new webhook. The webhook's configuration page will appear.
  5. Enter webhook form data as follows:
    • Enabled. Toggle to make webhook active.
    • Friendly Name. Enter an optional name to help you differentiate among your webhooks.
    • Post URL. Enter the Sumo Logic HTTP endpoint URL (source address) created above.
    • Actions to be posted. Select the event types you would like to receive data about from webhook.
    • Security features. See Event Webhook Security Features for details about configuring the settings under this heading.
    • Test Your Integration. select to receive an HTTP POST request with example events as a JSON array at your provided Post URL.
  6. Click Save.
  7. Verify SendGrid events are getting ingested in Sumo Logic by executing the following query on Sumo Logic's Log Search panel.
Privacy Statement
Terms of Use

Copyright © 2024 by Sumo Logic, Inc.