SendGrid
Version
This integration utilizes the SendGrid REST API v3.
Base URL
The base URL used for all SendGrid API endpoints:https://api.sendgrid.com/v3/
Authentication & Authorization
The DataGrail SendGrid integration connects using token authentication which requires an API Key.
Scopes
The SendGrid integration requires specific scopes that must be granted in order to function for a given capability.
Scope | Access | Deletion | Transactional Mailer |
---|---|---|---|
Mail Send (Full Access) | ✅ | ||
Category Management (Full Access) | ✅ | ✅ | |
Marketing (Full Access) | ✅ | ✅ | |
Suppressions (Full Access) | ✅ | ✅ | |
Tracking (Full Access) | ✅ | ✅ | |
Email Activity (Full Access) | ✅ | ✅ |
Endpoints Utilized
DataGrail uses the following endpoints to authorize and test the connection:
Limits
Limits in SendGrid are calculated using the leaky
bucket algorithm. All requests that are made after rate limits have been
exceeded are throttled and an HTTP 429 Too Many Requests
error is returned.
Requests succeed again after enough requests have emptied out of the bucket.
- DataGrail supports requests throttling to stay within 70-80% of specified service rate limits.
- DataGrail processes API responses with HTTP 429 status to interrupt requests, waiting and retrying (using an exponential backoff strategy).
Capabilities
Access
DataGrail's SendGrid integration provides Synchronous Access capabilities for the following supported identifier category: Email.Data Interactions
For Access requests, DataGrail will take the following actions:
- Search contacts by the Data Subject email.
- If a match is found, DataGrail will extract all objects related to the contact, including the following:
Match Found
- Fetch lists and segment IDs from the contact details.
- Fetch all lists related to the contact by ID.
- Fetch all segments related to the contact by ID.
- Filter all messages to search email activity by the Data Subject email.
Endpoints Utilized
Deletion
DataGrail's SendGrid integration provides Asynchronous (Whole Record) Deletion capabilities for the following supported identifier category: Email.Data Interactions
For Deletion requests, DataGrail will take the following actions:
- Search contacts by the Data Subject email (primary emails only).
- Delete contacts by ID.
- Continuously repeat contact search by the Data Subject email to verify the deletion.
Endpoints Utilized
Method | Endpoint | Purpose | Docs |
---|---|---|---|
DEL | /marketing/contacts | Delete contact by ID | |
POST | /marketing/contacts/search | Find contacts by email |
Transactional Mailer
The SendGrid integration can be used for your DataGrail account's transactional mailer.Endpoints Utilized
Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.