# Twilio

## Requirements

In order to integrate Teleskope with Twilio for DSR requests, you must have:

* A SendGrid Admin to provision an API Key

### Integrating with Twilio

To integrate Teleskope with Amplitude

1. Navigate to **Data Subject Rights** → **Third Party Integrations** and pick Twilio.
2. Enter `usused` for the Account SID (no longer needed). Also enter an API Key and click save.
   1. The API Key can be created under `app.sendgrid.com` -> Settings -> API Keys. Note that this is the Secret Key that is only copyable at the time of creation, not the API Key ID.
3. Enable the correct variable or mapping to submit in the call.&#x20;

### Enroll Twilio for deletion or access requests <a href="#enroll-salesforce-for-deletion-or-access-requests" id="enroll-salesforce-for-deletion-or-access-requests"></a>

The following endpoints are available for deletion or access requests:

| Request Type | Endpoint Name                                                                                                          | Endpoint Name in Teleskope |
| ------------ | ---------------------------------------------------------------------------------------------------------------------- | -------------------------- |
| Deletion     | [EraseJob](https://www.twilio.com/docs/sendgrid/api-reference/recipients-data-erasure-api/erase-recipients-email-data) | User                       |

### Parameter Defaults <a href="#enroll-salesforce-for-deletion-or-access-requests" id="enroll-salesforce-for-deletion-or-access-requests"></a>

Teleskope’s Twilio integration requires specific parameters to process Data Subject Requests (DSRs).

| Parameter Name | Default Value | Notes                                     |
| -------------- | ------------- | ----------------------------------------- |
| **identifier** | Email         | Required. Used to find records to delete. |
