Sequenzy · Schema

CampaignSummary

Email MarketingArtificial IntelligenceSoftware-as-a-ServiceAutomationDeveloper Tools

Properties

Name Type Description
id string
name string
type object
subject string
emailId stringnull The linked email body. The same record is returned by the templates endpoints and can be passed as `templateId` when creating campaigns to reuse the design. Null for SMS campaigns.
emailPreset object Style > Format of the linked email. Null for SMS campaigns and for an email stored as a single raw HTML block.
hasAudience boolean Whether an explicit audience is configured. False for unset or empty selections. This does not validate resource existence or count eligible recipients. Draft rows can use this for an Audience set ind
status object
rejectionComment stringnull Reviewer feedback when the campaign status is rejected. Stays null while a campaign is still in waiting_approval.
trackingCode stringnull Campaign tracking code available to UTM templates as `{{campaign.trackingCode}}`.
labels array Label names assigned to this campaign.
scheduledAt stringnull
sentAt stringnull For native sends, when the send finished. It is stamped after the last recipient is handed off, so for a spread or optimal-time send this is the end of the delivery window rather than when sending sta
createdAt string
spreadOverHours integernull Hours the send was (or will be) spread over. Null means there is no fixed spread; inspect sendTimeOptimization to distinguish an optimal-time send from a campaign with no recorded pacing. Imported cam
sendTimeOptimization boolean Whether each recipient is sent at their best predicted open time. Campaign-only: there is no company or sequence STO setting. Sequences use sendingWindow instead. Always false when spreadOverHours is
sendTimeWindowHours integernull Window send time optimization may deliver within, in hours from scheduledAt. Defaults to 12 and only applies when sendTimeOptimization is true.
sendInRecipientTimezone boolean Whether the campaign is delivered at the scheduled wall-clock time in each recipient's timezone.
scheduledTimezone stringnull Stored IANA timezone that anchors the campaign's scheduled wall-clock time. Use sendInRecipientTimezone to determine whether recipient-timezone delivery is enabled; this value may remain set when that
maxRecipients integernull Recipient cap applied when the audience is resolved at send time. The first N matching subscribers (by subscriber id) receive the campaign after every audience and suppression rule; recipients already
View JSON Schema on GitHub

JSON Schema

sequenzy-campaign-summary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sequenzy/json-schema/sequenzy-campaign-summary-schema.json",
  "title": "CampaignSummary",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sequenzy-campaigns-api-openapi.yml#/components/schemas/CampaignSummary",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "$ref": "#/$defs/CampaignChannel"
    },
    "subject": {
      "type": "string"
    },
    "emailId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The linked email body. The same record is returned by the templates endpoints and can be passed as `templateId` when creating campaigns to reuse the design. Null for SMS campaigns."
    },
    "emailPreset": {
      "allOf": [
        {
          "$ref": "#/$defs/EmailPreset"
        }
      ],
      "description": "Style > Format of the linked email. Null for SMS campaigns and for an email stored as a single raw HTML block."
    },
    "hasAudience": {
      "type": "boolean",
      "description": "Whether an explicit audience is configured. False for unset or empty selections. This does not validate resource existence or count eligible recipients. Draft rows can use this for an Audience set indicator."
    },
    "status": {
      "$ref": "#/$defs/CampaignStatus"
    },
    "rejectionComment": {
      "type": [
        "string",
        "null"
      ],
      "description": "Reviewer feedback when the campaign status is rejected. Stays null while a campaign is still in waiting_approval."
    },
    "trackingCode": {
      "type": [
        "string",
        "null"
      ],
      "description": "Campaign tracking code available to UTM templates as `{{campaign.trackingCode}}`."
    },
    "labels": {
      "type": "array",
      "description": "Label names assigned to this campaign.",
      "items": {
        "type": "string"
      }
    },
    "scheduledAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "sentAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "For native sends, when the send finished. It is stamped after the last recipient is handed off, so for a spread or optimal-time send this is the end of the delivery window rather than when sending started. Imported campaigns retain the source provider's timestamp."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "spreadOverHours": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Hours the send was (or will be) spread over. Null means there is no fixed spread; inspect sendTimeOptimization to distinguish an optimal-time send from a campaign with no recorded pacing. Imported campaigns may not include source-provider pacing data."
    },
    "sendTimeOptimization": {
      "type": "boolean",
      "description": "Whether each recipient is sent at their best predicted open time. Campaign-only: there is no company or sequence STO setting. Sequences use sendingWindow instead. Always false when spreadOverHours is set: setting a spread clears send time optimization."
    },
    "sendTimeWindowHours": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 24,
      "description": "Window send time optimization may deliver within, in hours from scheduledAt. Defaults to 12 and only applies when sendTimeOptimization is true."
    },
    "sendInRecipientTimezone": {
      "type": "boolean",
      "description": "Whether the campaign is delivered at the scheduled wall-clock time in each recipient's timezone."
    },
    "scheduledTimezone": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 64,
      "description": "Stored IANA timezone that anchors the campaign's scheduled wall-clock time. Use sendInRecipientTimezone to determine whether recipient-timezone delivery is enabled; this value may remain set when that mode is disabled."
    },
    "maxRecipients": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 10000000,
      "description": "Recipient cap applied when the audience is resolved at send time. The first N matching subscribers (by subscriber id) receive the campaign after every audience and suppression rule; recipients already reached count against the cap when a paused send resumes. Null means the whole audience is targeted."
    }
  },
  "$defs": {
    "CampaignChannel": {
      "type": "string",
      "enum": [
        "email",
        "sms",
        "push"
      ],
      "description": "Delivery channel. SMS campaigns are created and managed from the dashboard, and push campaigns through the /push/campaigns endpoints: they carry no email, so `subject` and `blocks` come back empty, and the email-only endpoints (update, schedule, pause, resume, duplicate, resend to non-openers) reject them. Campaign stats and campaign events reject them too, since both read email engagement. Cancelling a push campaign through POST /campaigns/{campaignId}/cancel uses the push lifecycle."
    },
    "CampaignStatus": {
      "type": "string",
      "enum": [
        "draft",
        "scheduled",
        "waiting_approval",
        "rejected",
        "sending",
        "paused",
        "sent",
        "cancelled"
      ],
      "description": "Campaign status. `waiting_approval` means the campaign is held for safety review and is not sending; this is most common on new accounts and recently registered sending domains. See https://docs.sequenzy.com/concepts/campaigns#safety-review"
    },
    "EmailPreset": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "branded",
        "minimal",
        null
      ],
      "description": "Per-email Style > Format, derived from the stored blocks. `branded` renders the company logo and the full footer; `minimal` renders no logo and the simple footer. Null when the entire email is a single raw HTML block, which has no Sequenzy format. Sequence steps, campaigns, transactional templates, and saved templates all report this field, so chrome can be compared across emails without rendering them."
    }
  }
}

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/sequenzy-campaign-summary"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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