# sendgrid fields

> The 129 fields of the sendgrid connector: field ID, name, type and description.

Use the field ID in the `fields` parameter of a request to `https://connectors.windsor.ai/sendgrid`. This list comes from `GET https://connectors.windsor.ai/sendgrid/fields`; the same call returns it as JSON, with more detail.

## blocks

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `blocks__created` | blocks.created | `TIMESTAMP` | blocks.created |
| `blocks__email` | blocks.email | `TEXT` | blocks.email |
| `blocks__reason` | blocks.reason | `TEXT` | blocks.reason |
| `blocks__status` | blocks.status | `TEXT` | blocks.status |

## bounces

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `bounces__created` | bounces.created | `TIMESTAMP` | bounces.created |
| `bounces__email` | bounces.email | `TEXT` | bounces.email |
| `bounces__reason` | bounces.reason | `TEXT` | bounces.reason |
| `bounces__status` | bounces.status | `TEXT` | bounces.status |

## campaigns

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `campaigns__created_at` | campaigns.created_at | `TIMESTAMP` | campaigns.created_at |
| `campaigns__id` | campaigns.id | `TEXT` | campaigns.id |
| `campaigns__is_abtest` | campaigns.is_abtest | `BOOLEAN` | campaigns.is_abtest |
| `campaigns__name` | campaigns.name | `TEXT` | campaigns.name |
| `campaigns__status` | campaigns.status | `TEXT` | campaigns.status |
| `campaigns__updated_at` | campaigns.updated_at | `TIMESTAMP` | campaigns.updated_at |

## contacts

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `contacts__address_line_1` | contacts.address_line_1 | `TEXT` | contacts.address_line_1 |
| `contacts__address_line_2` | contacts.address_line_2 | `TEXT` | contacts.address_line_2 |
| `contacts__alternate_emails` | contacts.alternate_emails | `OBJECT` | contacts.alternate_emails |
| `contacts__city` | contacts.city | `CITY` | contacts.city |
| `contacts__contact_id` | contacts.contact_id | `TEXT` | contacts.contact_id |
| `contacts__country` | contacts.country | `COUNTRY` | contacts.country |
| `contacts__created_at` | contacts.created_at | `TIMESTAMP` | contacts.created_at |
| `contacts__custom_fields` | contacts.custom_fields | `OBJECT` | contacts.custom_fields |
| `contacts__email` | contacts.email | `TEXT` | contacts.email |
| `contacts__facebook` | contacts.facebook | `TEXT` | contacts.facebook |
| `contacts__first_name` | contacts.first_name | `TEXT` | contacts.first_name |
| `contacts__last_name` | contacts.last_name | `TEXT` | contacts.last_name |
| `contacts__line` | contacts.line | `TEXT` | contacts.line |
| `contacts__list_ids` | contacts.list_ids | `OBJECT` | contacts.list_ids |
| `contacts__phone_number` | contacts.phone_number | `TEXT` | contacts.phone_number |
| `contacts__postal_code` | contacts.postal_code | `TEXT` | contacts.postal_code |
| `contacts__state_province_region` | contacts.state_province_region | `TEXT` | contacts.state_province_region |
| `contacts__unique_name` | contacts.unique_name | `TEXT` | contacts.unique_name |
| `contacts__updated_at` | contacts.updated_at | `TIMESTAMP` | contacts.updated_at |
| `contacts__whatsapp` | contacts.whatsapp | `TEXT` | contacts.whatsapp |

## global_suppressions

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `global_suppressions__created` | global_suppressions.created | `TIMESTAMP` | global_suppressions.created |
| `global_suppressions__email` | global_suppressions.email | `TEXT` | global_suppressions.email |

## invalid_emails

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `invalid_emails__created` | invalid_emails.created | `TIMESTAMP` | invalid_emails.created |
| `invalid_emails__email` | invalid_emails.email | `TEXT` | invalid_emails.email |
| `invalid_emails__reason` | invalid_emails.reason | `TEXT` | invalid_emails.reason |

## lists

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `lists___metadata` | lists._metadata | `OBJECT` | lists._metadata |
| `lists__contact_count` | lists.contact_count | `NUMERIC` | lists.contact_count |
| `lists__id` | lists.id | `TEXT` | lists.id |
| `lists__name` | lists.name | `TEXT` | lists.name |

## segments

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `segments__contact_count` | segments.contact_count | `NUMERIC` | segments.contact_count |
| `segments__created_at` | segments.created_at | `TIMESTAMP` | segments.created_at |
| `segments__id` | segments.id | `TEXT` | segments.id |
| `segments__name` | segments.name | `TEXT` | segments.name |
| `segments__next_sample_update` | segments.next_sample_update | `TEXT` | segments.next_sample_update |
| `segments__parent_list_id` | segments.parent_list_id | `TEXT` | segments.parent_list_id |
| `segments__sample_updated_at` | segments.sample_updated_at | `DATE` | segments.sample_updated_at |
| `segments__updated_at` | segments.updated_at | `TIMESTAMP` | segments.updated_at |

## single_sends

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `single_sends__ab_phase` | single_sends.ab_phase | `TEXT` | single_sends.ab_phase |
| `single_sends__ab_variation` | single_sends.ab_variation | `TEXT` | single_sends.ab_variation |
| `single_sends__aggregation` | single_sends.aggregation | `TEXT` | single_sends.aggregation |
| `single_sends__id` | single_sends.id | `TEXT` | single_sends.id |
| `single_sends__name` | single_sends.name | `TEXT` | single_sends.name |
| `single_sends__stats` | single_sends.stats | `OBJECT` | single_sends.stats |
| `single_sends__stats__bounce_drops` | Single Sends Stats Bounce Drops | `NUMERIC` | Single Sends Stats Bounce Drops |
| `single_sends__stats__bounces` | Single Sends Stats Bounces | `NUMERIC` | Single Sends Stats Bounces |
| `single_sends__stats__clicks` | Single Sends Stats Clicks | `NUMERIC` | Single Sends Stats Clicks |
| `single_sends__stats__delivered` | Single Sends Stats Delivered | `NUMERIC` | Single Sends Stats Delivered |
| `single_sends__stats__invalid_emails` | Single Sends Stats Invalid Emails | `NUMERIC` | Single Sends Stats Invalid Emails |
| `single_sends__stats__opens` | Single Sends Stats Opens | `NUMERIC` | Single Sends Stats Opens |
| `single_sends__stats__requests` | Single Sends Stats Requests | `NUMERIC` | Single Sends Stats Requests |
| `single_sends__stats__spam_report_drops` | Single Sends Stats Spam Report Drops | `NUMERIC` | Single Sends Stats Spam Report Drops |
| `single_sends__stats__spam_reports` | Single Sends Stats Spam Reports | `NUMERIC` | Single Sends Stats Spam Reports |
| `single_sends__stats__unique_clicks` | Single Sends Stats Unique Clicks | `NUMERIC` | Single Sends Stats Unique Clicks |
| `single_sends__stats__unique_opens` | Single Sends Stats Unique Opens | `NUMERIC` | Single Sends Stats Unique Opens |
| `single_sends__stats__unsubscribes` | Single Sends Stats Unsubscribes | `NUMERIC` | Single Sends Stats Unsubscribes |

## spam_reports

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `spam_reports__created` | spam_reports.created | `TIMESTAMP` | spam_reports.created |
| `spam_reports__email` | spam_reports.email | `TEXT` | spam_reports.email |
| `spam_reports__ip` | spam_reports.ip | `TEXT` | spam_reports.ip |

## stats_automations

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `stats_automations__aggregation` | stats_automations.aggregation | `TEXT` | stats_automations.aggregation |
| `stats_automations__id` | stats_automations.id | `TEXT` | stats_automations.id |
| `stats_automations__stats` | stats_automations.stats | `OBJECT` | stats_automations.stats |
| `stats_automations__stats__bounce_drops` | Stats Automations Stats Bounce Drops | `NUMERIC` | Stats Automations Stats Bounce Drops |
| `stats_automations__stats__bounces` | Stats Automations Stats Bounces | `NUMERIC` | Stats Automations Stats Bounces |
| `stats_automations__stats__clicks` | Stats Automations Stats Clicks | `NUMERIC` | Stats Automations Stats Clicks |
| `stats_automations__stats__delivered` | Stats Automations Stats Delivered | `NUMERIC` | Stats Automations Stats Delivered |
| `stats_automations__stats__invalid_emails` | Stats Automations Stats Invalid Emails | `NUMERIC` | Stats Automations Stats Invalid Emails |
| `stats_automations__stats__opens` | Stats Automations Stats Opens | `NUMERIC` | Stats Automations Stats Opens |
| `stats_automations__stats__requests` | Stats Automations Stats Requests | `NUMERIC` | Stats Automations Stats Requests |
| `stats_automations__stats__spam_report_drops` | Stats Automations Stats Spam Report Drops | `NUMERIC` | Stats Automations Stats Spam Report Drops |
| `stats_automations__stats__spam_reports` | Stats Automations Stats Spam Reports | `NUMERIC` | Stats Automations Stats Spam Reports |
| `stats_automations__stats__unique_clicks` | Stats Automations Stats Unique Clicks | `NUMERIC` | Stats Automations Stats Unique Clicks |
| `stats_automations__stats__unique_opens` | Stats Automations Stats Unique Opens | `NUMERIC` | Stats Automations Stats Unique Opens |
| `stats_automations__stats__unsubscribes` | Stats Automations Stats Unsubscribes | `NUMERIC` | Stats Automations Stats Unsubscribes |
| `stats_automations__step_id` | stats_automations.step_id | `TEXT` | stats_automations.step_id |

## suppression_group_members

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `suppression_group_members__created_at` | suppression_group_members.created_at | `TIMESTAMP` | suppression_group_members.created_at |
| `suppression_group_members__email` | suppression_group_members.email | `TEXT` | suppression_group_members.email |
| `suppression_group_members__group_id` | suppression_group_members.group_id | `TEXT` | suppression_group_members.group_id |
| `suppression_group_members__group_name` | suppression_group_members.group_name | `TEXT` | suppression_group_members.group_name |

## suppression_groups

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `suppression_groups__description` | suppression_groups.description | `TEXT` | suppression_groups.description |
| `suppression_groups__id` | suppression_groups.id | `TEXT` | suppression_groups.id |
| `suppression_groups__is_default` | suppression_groups.is_default | `BOOLEAN` | suppression_groups.is_default |
| `suppression_groups__name` | suppression_groups.name | `TEXT` | suppression_groups.name |
| `suppression_groups__unsubscribes` | suppression_groups.unsubscribes | `NUMERIC` | suppression_groups.unsubscribes |

## templates

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `templates__generation` | templates.generation | `TEXT` | templates.generation |
| `templates__id` | templates.id | `TEXT` | templates.id |
| `templates__name` | templates.name | `TEXT` | templates.name |
| `templates__updated_at` | templates.updated_at | `DATE` | templates.updated_at |
| `templates__versions` | templates.versions | `OBJECT` | templates.versions |

## unsubscribe_groups

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `unsubscribe_groups__description` | unsubscribe_groups.description | `TEXT` | unsubscribe_groups.description |
| `unsubscribe_groups__id` | unsubscribe_groups.id | `TEXT` | unsubscribe_groups.id |
| `unsubscribe_groups__is_default` | unsubscribe_groups.is_default | `BOOLEAN` | unsubscribe_groups.is_default |
| `unsubscribe_groups__last_email_sent_at` | unsubscribe_groups.last_email_sent_at | `DATE` | unsubscribe_groups.last_email_sent_at |
| `unsubscribe_groups__name` | unsubscribe_groups.name | `TEXT` | unsubscribe_groups.name |
| `unsubscribe_groups__unsubscribes` | unsubscribe_groups.unsubscribes | `NUMERIC` | unsubscribe_groups.unsubscribes |

## Other

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | Account ID. |
| `account_name` | Account Name | `TEXT` | Account name. |
| `data_fetched_at` | Data fetched at | `TIMESTAMP` | UTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each kee… |
| `datasource` | Data Source | `TEXT` | The name of the Windsor connector returning the row |
| `date` | Date | `DATE` | Date. |
| `day_of_month` | Day of month | `TEXT` | Day of the month |
| `month` | Month | `TEXT` | Number of the month |
| `now` | Now | `TIMESTAMP` | Current timestamp |
| `source` | Source | `TEXT` | The name of the Windsor connector returning the row |
| `today` | Today | `DATE` | Today's date |
| `week` | Week | `TEXT` | Week (Sun-Sat). |
| `week_day` | Day of week and day number | `TEXT` | Weekday number and name combined (Sun-Sat).Numbered from 0 Sunday to 6 Saturday. |
| `week_day_iso` | Day of week and day number, ISO | `TEXT` | Weekday number and name combined, ISO format (Mon-Sun).Numbered from 1 Monday to 7 |
| `week_iso` | Week ISO | `TEXT` | Week, ISO format (Mon-Sun). |
| `year` | Year | `TEXT` | Year |
| `year_month` | Yearmonth | `TEXT` | Year and month, e.g. 2024\|3 |
| `year_month_name` | Year month name | `TEXT` | Year and month with the month name written out, e.g. "Jan 2025". |
| `year_of_week` | Year of week | `TEXT` | The year that contains first day of the week (Sun-Sat). |
| `year_of_week_iso` | Year of week, ISO | `TEXT` | The year that contains first day of the ISO week (Mon-Sun). |
| `year_week` | Year week | `TEXT` | Year and week for US weeks (Sun-Sat), e.g. 2024\|15 |
| `year_week_iso` | Year week ISO | `TEXT` | Year and week for ISO weeks (Mon-Sun), e.g. 2024\|20 |
