Skip to main content

Sendgrid

Prerequisites

  • API Key

Setting up the Sendgrid connector

NoItemRequiredExampleNotes
1Sendgrid API keyYesAPI Key, use admin to generate this key.
2Start timeNo2020-01-01T01:01:01Z
2020-01-01T01:01:01.000001Z
Start time in ISO8601 format. Any data before this time point will not be replicated.

Tables in the Sendgrid connector

NoTable NameColumnsPrimary KeysRead ModeInc. Sync KeysAPI Info
1blocks4Full Refresh, IncrementalcreatedAPI Reference
2templates5Full RefreshAPI Reference
3spam_reports3Full Refresh, Incrementalcreated
4suppression_group_members4Full Refresh
5stats_automations4Full Refresh
6segments8Full RefreshAPI Reference
7global_suppressions2Full Refresh, Incrementalcreated
8single_sends5Full Refresh
9campaigns6Full RefreshAPI Reference
10suppression_groups5Full Refresh
11lists4Full RefreshAPI Reference
12invalid_emails3Full Refresh, Incrementalcreated
13bounces4Full Refresh, IncrementalcreatedAPI Reference
14contacts20Full RefreshAPI Reference

Table: blocks

NoColumn NameTypeNotes
1reasonVARCHAR
2createdINTEGERIncremental sync key
3emailVARCHAR
4statusVARCHAR

Table: templates

NoColumn NameTypeNotes
1generationVARCHAR
2updated_atVARCHAR
3versionsVARCHAR
4nameVARCHAR
5idVARCHAR

Table: spam_reports

NoColumn NameTypeNotes
1createdINTEGERIncremental sync key
2ipVARCHAR
3emailVARCHAR

Table: suppression_group_members

NoColumn NameTypeNotes
1group_idINTEGER
2group_nameVARCHAR
3created_atINTEGER
4emailVARCHAR

Table: stats_automations

NoColumn NameTypeNotes
1statsVARCHAR
2aggregationVARCHAR
3idVARCHAR
4step_idVARCHAR

Table: segments

NoColumn NameTypeNotes
1next_sample_updateVARCHAR
2updated_atVARCHAR
3contact_countINTEGER
4nameVARCHAR
5created_atVARCHAR
6idVARCHAR
7sample_updated_atVARCHAR
8parent_list_idVARCHAR

Table: global_suppressions

NoColumn NameTypeNotes
1createdINTEGERIncremental sync key
2emailVARCHAR

Table: single_sends

NoColumn NameTypeNotes
1ab_phaseVARCHAR
2statsVARCHAR
3aggregationVARCHAR
4idVARCHAR
5ab_variationVARCHAR

Table: campaigns

NoColumn NameTypeNotes
1is_abtestBOOLEAN
2updated_atVARCHAR
3nameVARCHAR
4created_atVARCHAR
5idVARCHAR
6statusVARCHAR

Table: suppression_groups

NoColumn NameTypeNotes
1unsubscribesINTEGER
2nameVARCHAR
3descriptionVARCHAR
4idINTEGER
5is_defaultBOOLEAN

Table: lists

NoColumn NameTypeNotes
1contact_countINTEGER
2nameVARCHAR
3idVARCHAR
4_metadataVARCHAR

Table: invalid_emails

NoColumn NameTypeNotes
1reasonVARCHAR
2createdINTEGERIncremental sync key
3emailVARCHAR

Table: bounces

NoColumn NameTypeNotes
1reasonVARCHAR
2createdINTEGERIncremental sync key
3emailVARCHAR
4statusVARCHAR

Table: contacts

NoColumn NameTypeNotes
1whatsappVARCHAR
2countryVARCHAR
3cityVARCHAR
4state_province_regionVARCHAR
5custom_fieldsVARCHAR
6lineVARCHAR
7facebookVARCHAR
8last_nameVARCHAR
9created_atVARCHAR
10contact_idVARCHAR
11list_idsVARCHAR
12unique_nameVARCHAR
13updated_atVARCHAR
14alternate_emailsVARCHAR
15address_line_1VARCHAR
16phone_numberVARCHAR
17address_line_2VARCHAR
18postal_codeVARCHAR
19first_nameVARCHAR
20emailVARCHAR

External Resources

Zipstack Cloud features a powerful SQL querying engine on top of many types of connectors, including those from Trino, some custom connectors and connectors from the open source Airbyte project. Some Zipstack cloud connectors are designed to utilize and expand upon Airbyte's connector protocol, but they do not use Airbyte's EL core. Additionally, some parts of the documentation for these connectors have been adapted from the connector documentation found in Airbyte's open source project.