Linking SendGrid as a source

Alpha release

This source is currently in alpha. The interface and available tables may change.

Enter your SendGrid API key to pull your SendGrid data into the PostHog data warehouse.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to SendGrid.
  3. You need an API key from SendGrid. Create one in your SendGrid account settings under Settings → API Keys. Grant the following read access (Restricted Access) so the key can reach the data you want to sync:
    • Suppressions — bounces, blocks, invalid emails, spam reports, global unsubscribes, unsubscribe groups
    • Marketing — marketing lists
    • Template Engine — templates
  4. Back in PostHog, paste the key in the API key field and click Next.
  5. Select the tables you want to sync, set the sync method and frequency, then click Import.

Once the syncs are complete, you can start using SendGrid data in PostHog.

Available tables

TableDescriptionSync method
bouncesSuppressed addresses that hard or soft bouncedIncremental
blocksAddresses blocked from receiving mailIncremental
invalid_emailsAddresses rejected as invalidIncremental
spam_reportsRecipients who marked your mail as spamIncremental
global_unsubscribesGlobally unsubscribed addressesIncremental
unsubscribe_groupsUnsubscribe (suppression) groupsFull refresh
marketing_listsMarketing contact listsFull refresh
templatesEmail templates (legacy and dynamic)Full refresh

Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.

Configuration

OptionTypeRequired
API keypasswordYes

Community questions

Was this page useful?

Questions about this page? or post a community question.