# SendGrid email verification

Source: https://docs.rocketverifier.com/integrations/sendgrid

> Import SendGrid bounces and spam reports into your suppression list, earn credits back under the bounce guarantee, and verify Marketing Campaigns contacts.

## Connect SendGrid

**Step 1**

In RocketVerifier open **Dashboard → Integrations → SendGrid**, paste the credentials below (a SendGrid API key) and click **Connect**. They are validated against the platform before anything is saved.

| Field | Required | Where to find it |
| --- | --- | --- |
| API key | Required | SendGrid → Settings → API Keys. Suppressions read access is needed for the bounce feed, Marketing read access for contact syncs. |
| Event webhook verification key | Optional | Settings → Mail Settings → Event Webhook → Signed Event Webhook (public key). Needed to accept real-time events. |

Credentials are stored encrypted and are only ever sent to the platform's own API hosts.

## What it syncs

**Sources.** All Marketing Campaigns contacts or any list (read through SendGrid's contact export).

**Incremental syncs.** Incremental syncs read the whole source and skip contacts verified within the skip window.

## Schedules and credits

- **Schedule:** manual, daily, weekly or monthly. **Sync now** starts a run immediately. One sync runs per integration at a time, and an address already on its way through another run is never charged twice.
- **Mode:** *Full* checks every contact in the source except those verified in the last *N* days (default 30, range 0 to 365). *Incremental* checks only contacts changed since the last sync. Turn on per-status intervals to re-check unknown and catch-all addresses sooner than valid ones.
- **Credits:** each sync is a regular verification job at 1 credit per unique address. `unknown` results are refunded when the job completes. Addresses you verified recently anywhere in RocketVerifier are written back from that result for free. If the balance is too low, the sync stops with `insufficient_credits` before anything is charged.
- **Quarantine:** optionally re-check risky, catch-all and unknown contacts automatically every 1 to 90 days (default 14), so each one moves to Send or Remove once the result is clear.
- **Results** are written back when the job completes. The sync history in the dashboard shows updated, failed and skipped counts for every run, and a finished run fires the `integration.sync.completed` webhook event.

## Write-back

Contact syncs are read-only: results appear in RocketVerifier, nothing is written back to SendGrid.

## Bounce feed setup

The webhook URL is shown on the integration page in the dashboard and has this form:

```text
https://api.rocketverifier.com/webhooks/connectors/sendgrid/{integration_id}
```

**Step 1**

Copy the webhook URL shown on the integration page in the dashboard.

**Step 2**

In SendGrid open **Settings → Mail Settings → Event Webhook**, paste the URL as the HTTP POST URL and select the **Bounced** and **Spam Reports** events.

**Step 3**

Turn on **Signed Event Webhook**, copy the verification key and paste it into the integration's *Event webhook verification key* field. Unsigned or wrongly signed events are rejected.

**Mapping.** Bounces → hard bounce, blocked bounces → soft bounce, spam reports → complaint. Retries are de-duplicated.

**Polling.** Even without the webhook, RocketVerifier reads the bounce and spam-report suppression lists once a day.
