Skip to main content
You need an active Constant Contact account. The Constant Contact developer portal uses the same sign-in credentials as your Constant Contact account.

Create an OAuth application

Register an application in the Constant Contact developer portal to obtain the two credentials StackOne needs. Constant Contact calls the OAuth 2.0 client ID an API Key — the portal labels it API Key (Client Id), and StackOne stores it in the field labeled API Key (Client ID) in the Connector profile. The Client Secret is generated separately, on the same page.

1

Sign in to Constant Contact

Sign in to your Constant Contact account.

  • Enter your Email address (Username) and Password, then click Log in.
The Constant Contact log in page with the email, password, and Log in button highlighted
2

Open My Applications

Go to the Constant Contact developer portal and click My Applications in the top navigation bar, next to API Docs, API SDKs, and API Reference.

The Constant Contact developer portal home page with My Applications highlighted in the top navigation bar
3

Create a new application

On the My Applications page, click New Application.

The My Applications page with the New Application button highlighted
4

Complete the application details

The New Application dialog collects the application name and its OAuth2 settings.

  • Enter a name to identify your application: StackOne Integration
  • You cannot use Constant Contact in the application name.
  • Under Application OAuth2 Settings, select Authorization Code Flow and Implicit Flow.
  • Select Rotating Refresh Tokens as the refresh token type.
  • New applications are limited to your current account scope. This means the application will only work with your account and cannot be accessed by other accounts.
  • Click Create.
The New Application dialog with the name field, OAuth2 flow, refresh token type, and Create button highlighted
5

Open your application

On the My Applications page, click Edit on the application you just created to open its details.

The My Applications list with the Edit button on the new application highlighted

Configure the redirect URI

The redirect URI is where Constant Contact sends users after they authorize the application. It must match StackOne’s callback URL exactly, or authorization fails.

1

Edit the redirect URI

In the Redirect URI section, click the pencil icon next to the redirect URI field. A new application starts with a localhost placeholder, which you replace in the next step.

The application details page with the Redirect URI field and its pencil icon highlighted
2

Confirm the redirect URI

The Edit this redirect URI dialog opens. Replace the value with StackOne’s callback URL, then click Confirm.

  • Enter exactly: https://api.stackone.com/connect/oauth2/constantcontact/callback
The Edit this redirect URI dialog with the callback URL entered and the Confirm button highlighted
3

Save the application

Confirming the dialog only stages the change — the page shows You have unsaved changes until you click Save.

  • Click Save to apply the new redirect URI.
The application details page showing the unsaved changes banner with the Save button highlighted

Copy your API Key and Client Secret

The application details page holds both values StackOne needs. The API Key is visible at any time; the Client Secret is generated on demand and displayed only once.

1

Copy the API Key

In the App Details section, copy the value under API Key (Client Id) using the copy icon beside it.

  • Paste it into the API Key (Client ID) field in the StackOne Connector profile.
The App Details section with the API Key value and its copy icon highlighted
2

Generate a Client Secret

Click Generate Client Secret beside the API Key.

The App Details section with the Generate Client Secret button highlighted
3

Confirm generating the secret

The App Secret dialog explains that the secret is used in the basic authentication method for access and refresh token calls. Click Generate Client Secret to confirm.

  • Generating a new secret will make your current secret invalid.
The App Secret confirmation dialog with the Generate Client Secret button highlighted
4

Copy the Client Secret

The dialog shows the generated secret with the prompt Copy this Application secret and store it. Use the copy icon to copy it, then click Close.

  • For application security, this is the only time you will see this secret.
  • Store it securely and paste it into the Client Secret field in the StackOne Connector profile.
The App Secret dialog showing the generated secret redacted, with the copy icon highlighted

Select the scopes to grant

Constant Contact checks a separate scope for each area of its API, and StackOne requests these scopes when you authorize the connection. Enter them as a space-separated list in the Scopes field in the StackOne Connector profile, or leave that field empty to request all of them. See the Constant Contact scopes documentation for the full reference.

1

Choose the scopes this connection needs

Enables actions: Bulk Add Contacts To Lists, Bulk Add Tags To Contacts, Bulk Delete Contacts, Bulk Export Contacts, Bulk Import Contacts (JSON), Bulk Remove Contacts From Lists, Bulk Remove Tags From Contacts, Copy Event, Create Account Email, Create Account Physical Address, Create Contact, Create Contact List, Create Custom Field, Create Email Campaign, Create Event, Create Or Update Contact, Create Segment, Create Tag, Delete Contact, Delete Contact List, Delete Custom Field, Delete Email Campaign, Delete Segment, Delete Tag, Get Account Physical Address, Get Account Summary, Get Bulk Activity, Get Campaign Activity, Get Campaign Activity Schedule, Get Contact, Get Contact Activity Summary, Get Contact List, Get Contact Open And Click Rates, Get Custom Field, Get Email Bounces Report, Get Email Campaign, Get Email Campaign Activity Stats, Get Email Campaign Preview, Get Email Campaign Stats, Get Email Clicks Report, Get Email Did Not Opens Report, Get Email Forwards Report, Get Email Links Report, Get Email Opens Report, Get Email Opt-outs Report, Get Email Sends Report, Get Email Unique Opens Report, Get Event, Get Segment, Get Send History, Get Tag, Get User Privileges, List Account Emails, List Bulk Activities, List Contact Activity Reports, List Contact Lists, List Contacts, List Custom Fields, List Email Campaign Summary Reports, List Email Campaigns, List Events, List Segments, List Tags, Rename Segment, Resubscribe Contact, Schedule Campaign Activity, Test Send Email Campaign, Unschedule Campaign Activity, Update Account Physical Address, Update Account Summary, Update Campaign Activity, Update Contact, Update Contact List, Update Custom Field, Update Email Campaign Name, Update Event, Update Segment, Update Tag

Select the scopes below. Keep offline_access — without it Constant Contact returns no refresh token, and the connection stops working once the access token expires. Calling an endpoint without its scope returns a 403 error, so grant every scope the actions you plan to use require.

Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for Constant Contact:
1

Navigate to Connector Profiles

Login to StackOne and navigate to Connector Profiles
2

Create New Connector Profile

  • Click + Connector Profile
  • Search for and select Constant Contact
  • Select Type as OAuth 2.0
  • Fill out the fields using details retrieved from your provider:
    • API Key (Client ID)
    • Client Secret
    • Scopes (Optional)
  • (Optional) Select Actions to be enabled for this Connector Profile
  • Click Create profile
Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to Link Accounts for Constant Contact.