Constant Contact · Schema

Constant Contact Email Campaign

Schema for a Constant Contact V3 email campaign and campaign activity.

CampaignsContactsEmail MarketingEventReportingSMSSurveys

Properties

Name Type Description
campaign_id string
name string
type string
type_code integer
current_status string
created_at string
updated_at string
campaign_activities array
View JSON Schema on GitHub

JSON Schema

constant-contact-campaign-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/constant-contact/refs/heads/main/json-schema/constant-contact-campaign-schema.json",
  "title": "Constant Contact Email Campaign",
  "description": "Schema for a Constant Contact V3 email campaign and campaign activity.",
  "type": "object",
  "properties": {
    "campaign_id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "maxLength": 80
    },
    "type": {
      "type": "string",
      "enum": ["NEWSLETTER", "ANNOUNCEMENT", "PRODUCT_PROMOTION", "ABANDONED_CART", "WELCOME", "BIRTHDAY", "ANNIVERSARY", "RESEND", "EVENT", "CUSTOM_CODE", "A_B_TEST"]
    },
    "type_code": { "type": "integer" },
    "current_status": {
      "type": "string",
      "enum": ["NONE", "DRAFT", "SCHEDULED", "EXECUTING", "DONE", "ERROR", "REMOVED"]
    },
    "created_at": { "type": "string", "format": "date-time" },
    "updated_at": { "type": "string", "format": "date-time" },
    "campaign_activities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "campaign_activity_id": { "type": "string", "format": "uuid" },
          "role": {
            "type": "string",
            "enum": ["primary_email", "resend", "permalink", "winner_resend", "ab_a", "ab_b"]
          }
        }
      }
    }
  },
  "required": ["name"],
  "definitions": {
    "EmailCampaignActivity": {
      "type": "object",
      "properties": {
        "campaign_activity_id": { "type": "string", "format": "uuid" },
        "campaign_id": { "type": "string", "format": "uuid" },
        "role": {
          "type": "string",
          "enum": ["primary_email", "resend", "permalink", "winner_resend", "ab_a", "ab_b"]
        },
        "current_status": {
          "type": "string",
          "enum": ["DRAFT", "SCHEDULED", "EXECUTING", "DONE", "ERROR", "REMOVED"]
        },
        "from_email": { "type": "string", "format": "email" },
        "from_name": { "type": "string", "maxLength": 100 },
        "reply_to_email": { "type": "string", "format": "email" },
        "subject": { "type": "string", "maxLength": 200 },
        "preheader": { "type": "string", "maxLength": 250 },
        "html_content": { "type": "string" },
        "physical_address_in_footer": {
          "type": "object",
          "properties": {
            "address_line1": { "type": "string" },
            "address_line2": { "type": "string" },
            "city": { "type": "string" },
            "state_code": { "type": "string" },
            "country_code": { "type": "string" },
            "organization_name": { "type": "string" },
            "postal_code": { "type": "string" }
          }
        },
        "contact_list_ids": {
          "type": "array",
          "items": { "type": "string", "format": "uuid" }
        },
        "segment_ids": {
          "type": "array",
          "items": { "type": "integer" }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/constant-contact-campaign"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.