Twilio
Version
This integration utilizes the Twilio Twilio REST API 2010-04-01.
Base URL
The base URL used for all Twilio API endpoints:https://api.twilio.com
The one exception is phone number validation, which uses the Twilio Lookup API at https://lookups.twilio.com. The full URL is shown for that endpoint below.
Authentication & Authorization
The DataGrail Twilio integration connects using basic authentication which requires an Account SID and Auth Token.
Endpoints Utilized
DataGrail uses the following endpoints to authorize and test the connection:
Limits
Limits in Twilio 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 Twilio integration provides Synchronous Access capabilities for the following supported identifier category: Phone Number.Data Interactions
For Access requests, DataGrail will take the following actions:
- Validate each Phone Number on the request with the Twilio Lookup API and convert it to E.164 format. DataGrail doesn't search by Email.
- Search for messages sent to the phone number and messages received from the phone number.
- For each message with attached media, collect the media records.
When reviewing data returned by Twilio please note the following:
- Only messages and media in the connected Twilio account are searched.
- Media records contain metadata (such as content type and URI), not the media files.
Endpoints Utilized
Field-Level Controls
DataGrail searches the following Twilio objects for personal data. You can choose which fields DataGrail includes in Access requests with Field Level Controls:
| Object | Data Included | Access Controls | Deletion Controls |
|---|---|---|---|
| Sent To Messages | Message fields such as body, from, to, status, dates, price, and error details | Per field. sid is always included | Per object |
| Received From Messages | Message fields such as body, from, to, status, dates, price, and error details | Per field. sid is always included | Per object |
| Media Objects | account_sid, content_type, date_created, date_updated, and uri | Per field. sid and parent_sid are always included | Follows the messages |
Deletion
DataGrail's Twilio integration provides Synchronous Deletion capabilities for the following supported identifier category: Phone Number.Data Interactions
For Deletion requests, DataGrail will take the following actions:
- Validate each Phone Number on the request with the Twilio Lookup API and convert it to E.164 format.
- Search for messages sent to and received from the phone number, and for the media attached to them.
- Delete each collected message by its SID.
- Delete each collected media file by its message SID and media SID.
Endpoints Utilized
Deletion Dependencies
Deletion requests support Field Level Controls at the object level. DataGrail deletes Media Objects together with the messages they belong to, so it doesn't offer a separate Deletion setting for them. The following table shows how each object is handled:
| Object | Deletion Setting | Depends On |
|---|---|---|
| Sent To Messages | Configurable | None |
| Received From Messages | Configurable | None |
| Media Objects | Not configurable | Sent To Messages, Received From Messages |
Media Objects are deleted when either of their parent objects is enabled for deletion. If you disable both Sent To Messages and Received From Messages, DataGrail deletes no messages or media for the request. Field-level selection doesn't apply to Deletion requests, so all fields are processed.
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.