# Sendgrid

## Implementation Summary [Permalink for this section](/content/docs/integrations/saas-integrations/developer-reference/example-configs/sendgrid#implementation-summary/index.html)

Fides uses the following Sendgrid endpoints to retrieve and delete Personally Identifiable Information (PII) when processing a Privacy Request. Right to Access and Right to Delete (Right to Forget) support for each endpoint is noted below.

| Endpoint | Right to Access | Right to Delete |
| --- | --- | --- |
| [Contacts (opens in a new tab)](https://docs.sendgrid.com/api-reference/contacts/search-contacts) | Yes | Yes |

## Connection Settings [Permalink for this section](/content/docs/integrations/saas-integrations/developer-reference/example-configs/sendgrid#connection-settings/index.html)

Connection instructions may be found in the [configuration guide](/content/docs/integrations/saas-integrations/developer-reference/saas-config/index.html).

**Deletion requests** are fulfilled by masking PII via `UPDATE` or by deleting personal data via `DELETE` endpoints.

## Example Sendgrid Configuration [Permalink for this section](/content/docs/integrations/saas-integrations/developer-reference/example-configs/sendgrid#example-sendgrid-configuration/index.html)

```
saas_config:
  fides_key: sendgrid_connector_example
  name: Sendgrid SaaS Config
  type: sendgrid
  description: A sample schema representing the Sendgrid connector for Fides
  version: 0.0.1

connector_params:
    - name: domain
    - name: api_key

client_config:
    protocol: https
    host: <domain>
    authentication:
      strategy: bearer
      configuration:
        token: <api_key>

test_request:
    method: GET
    path: /v3/marketing/contacts

endpoints:
    - name: contacts
      requests:
        read:
          method: POST
          path: /v3/marketing/contacts/search
          body: |
            {
              "query": "email = '<email>'"
            }
          param_values:
            - name: email
              identity: email
          data_path: result
        delete:
          method: DELETE
          path: /v3/marketing/contacts?ids=<contact_id>
          param_values:
            - name: contact_id
              references:
                - dataset: sendgrid_connector_example
                  field: contacts.id
                  direction: from
```

[Segment](/content/docs/integrations/saas-integrations/developer-reference/example-configs/segment "Segment"/index.html) [Sentry](/content/docs/integrations/saas-integrations/developer-reference/example-configs/sentry "Sentry"/index.html)
