Salesforce Marketing Cloud
Version
This integration utilizes the Salesforce Marketing Cloud REST API v1 and v2.
Base URL
The base URL used for all Salesforce Marketing Cloud API endpoints contains the Subdomain and REST or SOAP API:https://subdomain.api.marketingcloudapis.com
Authentication & Authorization
The DataGrail Salesforce Marketing Cloud integration connects using OAuth 2.0 with the following credentials: Client ID and Client Secret.
Scopes
The Salesforce Marketing Cloud integration requires specific scopes that must be granted in order to function for a given capability.
| Scope | Base | Access | Deletion |
|---|---|---|---|
offline | ✅ | ||
users_read | ✅ | ||
list_and_subscribers_read | ✅ | ||
list_and_subscribers_write | ✅ |
Endpoints Utilized
DataGrail uses the following endpoints to authorize and test the connection:
| Method | Endpoint | Purpose | Docs |
|---|---|---|---|
| GET | /contacts/v1/contacts/actions/delete/status | Verify connection | |
| POST | /v2/token | Get and refresh access token |
Limits
Limits in Salesforce Marketing Cloud 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 Salesforce Marketing Cloud integration provides Synchronous Access capabilities for the following supported identifier category: Email.Data Interactions
For Access requests, DataGrail will take the following actions:
- Search AccountUser by the configured identifiers.
- Retrieve the contact keys for email channel addresses.
- Retrieve contact preferences from contact records by the contact key.
Endpoints Utilized
Deletion
DataGrail's Salesforce Marketing Cloud 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:
- Retrieve the contact keys for email channel addresses.
- Delete a subscriber using configured identifiers.
- Delete contacts using the contact keys.
- Continuously check the status until the deletion is complete.
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.