# Constant Contact — Pipedream Connect

> We deliver for small businesses and nonprofits with the right tools to simplify and amplify your digital marketing and generate powerful results.

- API slug: `constant_contact` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Marketing
- Website: https://www.constantcontact.com/
- Managed OAuth scopes: `account_read` · `account_update` · `contact_data` · `campaign_data` · `offline_access`
- This page (HTML): https://pipedream.com/apps/constant-contact
- Tools: 9 actions · 2 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: constant_contact`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "constant_contact",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Add An Account Email Address:
const result = await mcp.callTool({
  name: "constant_contact-add-account-email-address",
  arguments: {
    emailAddress: "Email Address",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Constant Contact endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.cc.email/v3/account/user/privileges

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuY2MuZW1haWwvdjMvYWNjb3VudC91c2VyL3ByaXZpbGVnZXM?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "constant_contact-add-account-email-address",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    constant_contact: { authProvisionId: "apn_xxxxxxx" },
    emailAddress: "Email Address",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (9)

### `constant_contact-add-account-email-address` — Add An Account Email Address (Write)

Add a new email address to your Constant Contact account. This action sends a confirmation email to the new address. Once confirmed, the email address can be used in the from_email and reply_to_email fields of your email campaigns. See the documentation

Full schema: https://pipedream.com/apps/constant-contact/actions/add-account-email-address.md

### `constant_contact-add-contact` — Add Contact (Write)

Add a single contact. See the documentation

Full schema: https://pipedream.com/apps/constant-contact/actions/add-contact.md

### `constant_contact-create-email-campaign` — Create Email Campaign (Write)

Create a new email campaign. See the documentation

Full schema: https://pipedream.com/apps/constant-contact/actions/create-email-campaign.md

### `constant_contact-create-or-update-contact` — Create Or Update Contact (Write)

Create a new contact or update an existing one based on their email address. This method is appropriate when a contact has given explicit permission to receive emails. See the documentation

Full schema: https://pipedream.com/apps/constant-contact/actions/create-or-update-contact.md

### `constant_contact-list-contact-id-options` — List Contact Id Options (Read-only)

Retrieves available options for the Contact Id field.

Full schema: https://pipedream.com/apps/constant-contact/actions/list-contact-id-options.md

### `constant_contact-list-list-memberships-options` — List List Membership Options (Read-only)

Retrieves available options for the List Membership field.

Full schema: https://pipedream.com/apps/constant-contact/actions/list-list-memberships-options.md

### `constant_contact-list-taggings-options` — List Taggings Options (Read-only)

Retrieves available options for the Taggings field.

Full schema: https://pipedream.com/apps/constant-contact/actions/list-taggings-options.md

### `constant_contact-delete-contact` — Remove Contact (Write)

Delete a specific contact identified by contact_id. See the documentation

Full schema: https://pipedream.com/apps/constant-contact/actions/delete-contact.md

### `constant_contact-update-contact` — Update Contact (Write)

Update an existing contact. See the documentation

Full schema: https://pipedream.com/apps/constant-contact/actions/update-contact.md

## Triggers (2)

### `constant_contact-new-account-created` — New Account Created (Polling)

Emit new event when a new email account is created.

Full schema: https://pipedream.com/apps/constant-contact/triggers/new-account-created.md

### `constant_contact-new-contact-added` — New Contact Added (Polling)

Emit new event when a new contact is created.

Full schema: https://pipedream.com/apps/constant-contact/triggers/new-contact-added.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
