> For the complete documentation index, see [llms.txt](https://daton-sarasanalytics.gitbook.io/daton/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/saas-integrations/constant-contact.md).

# Constant Contact

### Snapshot

| Features                        | Details                                                  |
| ------------------------------- | -------------------------------------------------------- |
| Release Status                  | Released                                                 |
| Source API Version              | v2                                                       |
| Table Selection                 | Yes                                                      |
| Column Selection                | Yes                                                      |
| Edit Integration                | Yes                                                      |
| Replication Type Selection      | No                                                       |
| Authentication Parameters       | <p>Constantcontact email<br>Constantcontact password</p> |
| Replication Type                | <p>Full Replication<br>Key based replication</p>         |
| Replication Key                 | <p>NA<br>lastRunDate</p>                                 |
| Suggested Replication Frequency | 24 hrs                                                   |

| Tables/APIs Supported |                      |
| --------------------- | -------------------- |
| Contacts              | EmailCampaigns       |
| MyLibraryFiles        | AccountInfo          |
| TrashFiles            | ContactLists         |
| ContactTracking       | EmailCampaignSummary |

Events

### Integrate Constantcontact with Daton

1. Signin to Daton
2. Select constantcontact from Integrations page
3. Provide Integration Name Replication Frequency and History. Integration name would be used in creating tables for the integration and cannot be changed later
4. Provide your constantcontact email and password to authorize Daton to periodically extract data from constantcontact.
5. Post successful authentication you will be prompted to choose from the list of available tables
6. Then select all required fields for each table
7. Submit the integration

### Workflow

1. Integrations would be in Pending state initially and will be moved to Active state as soon as the first job loads data successfully on to the configured warehouse
2. Users would be able to edit/pause/re-activate/delete integration anytime
3. Users can view job status and process logs from the integration details page by clicking on the integration name from the active list

### Constantcontact Data

**Contacts**

Purpose: Method for retrieving a list of contacts.

Source API Documentation:  <https://constantcontact.mashery.com/io-docs>

Replication: Key-Based Replication

Replication Key: lastRunDate

**Fields**

| Name             | Target Datatype |
| ---------------- | --------------- |
| id               | NUMERIC         |
| status           | STRING          |
| fax              | STRING          |
| addresses        | RECORD          |
| notes            | STRING          |
| confirmed        | BOOLEAN         |
| lists            | RECORD          |
| source           | STRING          |
| email\_addresses | RECORD          |
| prefix\_name     | STRING          |
| first\_name      | STRING          |
| middle\_name     | STRING          |
| last\_name       | STRING          |
| job\_title       | STRING          |
| company\_name    | STRING          |
| home\_phone      | NUMERIC         |
| work\_phone      | NUMERIC         |
| cell\_phone      | NUMERIC         |
| custom\_fields   | STRING          |
| created\_date    | TIMESTAMP       |
| modified\_date   | TIMESTAMP       |
| source\_details  | STRING          |

**EmailCampaigns**

Purpose: This collection method returns a list of email campaigns.

Source API Documentation: <https://constantcontact.mashery.com/io-docs>

Replication: Key-Based Replication

Replication Key: lastRunDate

**Fields**

| Name           | Target Datatype |
| -------------- | --------------- |
| id             | NUMERIC         |
| name           | STRING          |
| status         | STRING          |
| modified\_date | TIMESTAMP       |

**MyLibraryFiles**

Purpose: Retrieve the account's MyLibrary folder collection.

Source API Documentation:  <https://constantcontact.mashery.com/io-docs>

Replication: Full Replication

Replication Key: NA

**Fields**

| Name           | Target Datatype |
| -------------- | --------------- |
| name           | STRING          |
| id             | NUMERIC         |
| description    | STRING          |
| folder         | STRING          |
| height         | NUMERIC         |
| width          | NUMERIC         |
| size           | NUMERIC         |
| url            | STRING          |
| source         | STRING          |
| status         | STRING          |
| thumbnail      | RECORD          |
| created\_date  | TIMESTAMP       |
| modified\_date | TIMESTAMP       |
| folder\_id     | STRING          |
| is\_image      | BOOLEAN         |
| file\_type     | STRING          |

**AccountInfo**

Purpose: Method to retrieve information about the account.

Source API Documentation:  <https://constantcontact.mashery.com/io-docs>

Replication: Full Replication

Replication Key: NA

**Fields**

| Name                    | Target Datatype |
| ----------------------- | --------------- |
| website                 | STRING          |
| organization\_name      | STRING          |
| time\_zone              | STRING          |
| first\_name             | STRING          |
| last\_name              | STRING          |
| email                   | STRING          |
| phone                   | STRING          |
| company\_logo           | STRING          |
| country\_code           | STRING          |
| status\_code            | STRING          |
| organization\_addresses | STRING          |

**TrashFiles**

Purpose: Retrieve files in the Trash folder

Source API Documentation:  <https://constantcontact.mashery.com/io-docs>

Replication: Full Replication

Replication Key: NA

**Fields**

| Name           | Target Datatype |
| -------------- | --------------- |
| name           | STRING          |
| id             | STRING          |
| description    | STRING          |
| folder         | STRING          |
| height         | NUMERIC         |
| width          | NUMERIC         |
| size           | NUMERIC         |
| url            | STRING          |
| source         | STRING          |
| status         | STRING          |
| thumbnail      | RECORD          |
| created\_date  | TIMESTAMP       |
| modified\_date | TIMESTAMP       |
| folder\_id     | STRING          |
| is\_image      | BOOLEAN         |
| file\_type     | STRING          |

**ContactLists**

Purpose: This collection method returns a list of ContactLists.

Source API Documentation:  <https://constantcontact.mashery.com/io-docs>

Replication: Key-Based Replication

Replication Key: lastRunDate

**Fields**

| Name           | Target Datatype |
| -------------- | --------------- |
| id             | NUMERIC         |
| name           | STRING          |
| status         | STRING          |
| created\_date  | TIMESTAMP       |
| modified\_date | TIMESTAMP       |
| contact\_count | NUMERIC         |

**ContactTracking**

Purpose: Method for getting all activities for a Contact

Source API Documentation:  <https://constantcontact.mashery.com/io-docs>

Replication: key based Replication

Replication Key: lastRunDate

**Fields**

| Name           | Target Datatype |
| -------------- | --------------- |
| activity\_type | STRING          |
| campaign\_id   | NUMERIC         |
| contact\_id    | NUMERIC         |
| open\_date     | TIMESTAMP       |

**EmailCampaignSummary**

Purpose: Get a summary of all activities for an email campaign

Source API Documentation:  <https://constantcontact.mashery.com/io-docs>

Replication: Full Replication

Replication Key: NA

**Fields**

| Name         | Target Datatype |
| ------------ | --------------- |
| checkid      | INTEGER         |
| start\_date  | TIMESTAMP       |
| end\_date    | TIMESTAMP       |
| sends        | NUMERIC         |
| opens        | NUMERIC         |
| clicks       | NUMERIC         |
| forwards     | NUMERIC         |
| unsubscribes | NUMERIC         |
| bounces      | NUMERIC         |
| spam\_count  | NUMERIC         |

**Events**

Purpose: Retrieve all EventSpot events in the account

Source API Documentation:  <https://constantcontact.mashery.com/io-docs>

Replication: Full Replication

Replication Key: NA

**Fields**

| Name                     | Target Datatype |
| ------------------------ | --------------- |
| id                       | STRING          |
| name                     | STRING          |
| title                    | STRING          |
| status                   | STRING          |
| location                 | STRING          |
| type                     | STRING          |
| address                  | RECORD          |
| description              | STRING          |
| start\_date              | TIMESTAMP       |
| end\_date                | TIMESTAMP       |
| created\_date            | TIMESTAMP       |
| total\_registered\_count | NUMERIC         |
| time\_zone\_id           | STRING          |
| active\_date             | TIMESTAMP       |
| is\_checkin\_available   | BOOLEAN         |
| event\_detail\_url       | STRING          |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/saas-integrations/constant-contact.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
