Drift
Version
This integration utilizes the Drift API v1.7.
Base URL
The base URL used for all Drift API endpoints:https://driftapi.com
Authentication & Authorization
The DataGrail Drift integration connects using OAuth 2.0 with the following credentials: Client ID and Client Secret.
Scopes
The Drift integration requires specific scopes that must be granted in order to function for a given capability.
| Scope | Access | Deletion |
|---|---|---|
all_contact_read | ✅ | |
contact_read | ✅ | |
conversation_read | ✅ | |
contact_write | ✅ | |
gdpr_write | ✅ |
Endpoints Utilized
DataGrail uses the following endpoints to authorize and test the connection:
| Method | Endpoint | Purpose | Docs |
|---|---|---|---|
| POST | /oauth2/token | Get and refresh access token | |
| GET | https://dev.drift.com/authorize | Request authorization |
Limits
Limits in Drift 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 Drift integration provides Asynchronous Access capabilities for the following supported identifier category: Email.Data Interactions
For Access requests, DataGrail will take the following actions:
- Retrieve contacts using the Data Subject email.
- List and select conversations related to the contacts collected in the previous step.
- Get detailed information about a particular conversation related to collected contacts.
Endpoints Utilized
| Method | Endpoint | Purpose | Docs |
|---|---|---|---|
| GET | /contacts | Retrieving Contacts | |
| GET | /contacts/contactId | Retrieving a Conversation | |
| GET | /conversations/list | Listing Conversations |
Deletion
DataGrail's Drift 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:
- Erase all data for all collected contacts and users.
- Retrieve contacts by the Data Subject email to confirm deletion.
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.