Sequenzy · Schema

SequenceCreateRequest

Email MarketingArtificial IntelligenceSoftware-as-a-ServiceAutomationDeveloper Tools

Properties

Name Type Description
description string Optional dashboard description.
userCancellable boolean Whether recipients can cancel this sequence from email preferences.
activeSubscribersOnly boolean Only enroll contacts whose status is `active`. Defaults to `false`: unsubscribed and bounced contacts still enter on tag, event, list and contact triggers so non-marketing steps run for them, and thei
labels array Dashboard label names. Missing labels are created.
bccEmails arraynull Addresses blind-copied on every sequence email.
fromEmail string From address for every email in this sequence. Its domain must be configured and verified.
fromName string Display name recipients see, e.g. 'Brennon at TradeTally'. Selects the sender identity of that name on fromEmail, creating it when the address has no identity by that name; the mailbox's other display
senderProfileId string Existing sender profile ID. It already supplies both the From address and display name, so send it on its own and omit fromEmail and fromName. To keep this profile under a different display name, set
replyTo string Reply-To address for every email in this sequence. A profile is created when needed.
replyToName string Display name for the Reply-To address. Requires replyTo; omit it when using replyProfileId, which already carries its own display name. An address carries one Reply-To name company-wide, so if replyTo
replyProfileId string Existing reply profile ID. It already supplies both the Reply-To address and display name, so send it on its own and omit replyTo and replyToName.
name string
trigger object Defaults to contact_added when omitted.
listId string List ID for contact_added triggers. Omit it to use listScope instead. Use listIds to trigger on several lists.
listIds array Several list IDs for a contact_added trigger. A contact joining ANY of them enrolls. Takes precedence over listId when both are sent. Cannot be combined with listScope.
listScope string For contact_added triggers with no list at all. `any_contact` (the default) enrolls every contact added, including contacts that join no list - which is what integrations create when list targeting is
tagName string Tag name for tag_added triggers. Use tagNames to trigger on several tags.
tagNames array Several tag names for a tag_added trigger. Receiving ANY of them enrolls the contact. Takes precedence over tagName when both are sent.
segmentId string Segment ID for segment_entered and segment_exited triggers.
stopOnSegmentExit boolean For segment_entered triggers, cancel enrollment when the subscriber leaves the segment.
eventName string Event name for event_received, inbound_webhook, inactivity, and frequency triggers.
integrationSlug string Integration slug for inbound_webhook triggers.
integrationEventKey string Integration event key for inbound_webhook triggers.
customIntegration object Custom inbound-webhook integration metadata.
propertyFilters array Event property filters for event_received and inbound_webhook triggers. The sequence only starts when the triggering event's properties match all filters. Use [] in the path to match items inside arra
inactiveDays number Days of inactivity before the sequence starts.
inactivityBaseline string For inactivity triggers, controls when to start counting for subscribers who have never performed the event. Defaults to sequence_created_at.
minCount number Minimum event count for frequency triggers.
timeWindowDays number Time window in days for frequency triggers.
enrollmentMode object
enrollmentFieldPath string Scalar dot-path event property used by matching_field enrollment, such as order.id or product.providerVariantId. Array traversal with [] is not supported; use propertyFilters for array matching. Appli
sendingWindow object
frequencyCapEnabled boolean Whether the sequence respects the company frequency cap (`/frequency-cap`). When true, an email step is skipped for a contact who already received the cap's number of campaign or marketing sequence em
keyDates object Named absolute moments for waitUntilKeyDate steps. Null clears them.
emailCount number Number of emails for AI-generated content. Defaults to 5. Maximum is 10.
durationDays number Total duration in days used to space AI-generated emails. Omit this to use the default sequence delay schedule.
emailStyle string Style for the AI-generated emails: visual (designed, with heroes/imagery/rich sections) or plain (personal, text-first notes with a single button). Defaults to the company's saved preference when omit
goal string Goal for AI-generated sequence content. Provide either goal or steps, or omit both for a blank dashboard-compatible draft.
stopCondition object
steps array Explicit email and action steps. Provide either steps or goal, or omit both for a blank dashboard-compatible draft.
View JSON Schema on GitHub

JSON Schema

sequenzy-sequence-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sequenzy/json-schema/sequenzy-sequence-create-request-schema.json",
  "title": "SequenceCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sequenzy-sequences-api-openapi.yml#/components/schemas/SequenceCreateRequest",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "description": {
      "type": "string",
      "description": "Optional dashboard description."
    },
    "userCancellable": {
      "type": "boolean",
      "description": "Whether recipients can cancel this sequence from email preferences."
    },
    "activeSubscribersOnly": {
      "type": "boolean",
      "description": "Only enroll contacts whose status is `active`. Defaults to `false`: unsubscribed and bounced contacts still enter on tag, event, list and contact triggers so non-marketing steps run for them, and their marketing emails are skipped at send time. Pending double opt-in contacts still wait for confirmation."
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Dashboard label names. Missing labels are created."
    },
    "bccEmails": {
      "type": [
        "array",
        "null"
      ],
      "maxItems": 10,
      "items": {
        "type": "string",
        "format": "email"
      },
      "description": "Addresses blind-copied on every sequence email."
    },
    "fromEmail": {
      "type": "string",
      "format": "email",
      "description": "From address for every email in this sequence. Its domain must be configured and verified."
    },
    "fromName": {
      "type": "string",
      "description": "Display name recipients see, e.g. 'Brennon at TradeTally'. Selects the sender identity of that name on fromEmail, creating it when the address has no identity by that name; the mailbox's other display names, and everything pinned to them, are untouched. Requires fromEmail; omit it when using senderProfileId, which already carries its own display name."
    },
    "senderProfileId": {
      "type": "string",
      "description": "Existing sender profile ID. It already supplies both the From address and display name, so send it on its own and omit fromEmail and fromName. To keep this profile under a different display name, set fromName on the email steps instead, where it is a per-step override."
    },
    "replyTo": {
      "type": "string",
      "format": "email",
      "description": "Reply-To address for every email in this sequence. A profile is created when needed."
    },
    "replyToName": {
      "type": "string",
      "description": "Display name for the Reply-To address. Requires replyTo; omit it when using replyProfileId, which already carries its own display name. An address carries one Reply-To name company-wide, so if replyTo already has a saved profile under a different name, that saved name is kept and the response `warnings` array says so."
    },
    "replyProfileId": {
      "type": "string",
      "description": "Existing reply profile ID. It already supplies both the Reply-To address and display name, so send it on its own and omit replyTo and replyToName."
    },
    "name": {
      "type": "string"
    },
    "trigger": {
      "$ref": "#/$defs/SequenceTriggerType",
      "description": "Defaults to contact_added when omitted."
    },
    "listId": {
      "type": "string",
      "description": "List ID for contact_added triggers. Omit it to use listScope instead. Use listIds to trigger on several lists."
    },
    "listIds": {
      "type": "array",
      "minItems": 1,
      "maxItems": 25,
      "items": {
        "type": "string"
      },
      "description": "Several list IDs for a contact_added trigger. A contact joining ANY of them enrolls. Takes precedence over listId when both are sent. Cannot be combined with listScope."
    },
    "listScope": {
      "type": "string",
      "enum": [
        "any_contact",
        "any_list"
      ],
      "default": "any_contact",
      "description": "For contact_added triggers with no list at all. `any_contact` (the default) enrolls every contact added, including contacts that join no list - which is what integrations create when list targeting is empty. `any_list` waits until the contact joins a list. Cannot be combined with listId or listIds."
    },
    "tagName": {
      "type": "string",
      "description": "Tag name for tag_added triggers. Use tagNames to trigger on several tags."
    },
    "tagNames": {
      "type": "array",
      "minItems": 1,
      "maxItems": 25,
      "items": {
        "type": "string"
      },
      "description": "Several tag names for a tag_added trigger. Receiving ANY of them enrolls the contact. Takes precedence over tagName when both are sent."
    },
    "segmentId": {
      "type": "string",
      "description": "Segment ID for segment_entered and segment_exited triggers."
    },
    "stopOnSegmentExit": {
      "type": "boolean",
      "description": "For segment_entered triggers, cancel enrollment when the subscriber leaves the segment."
    },
    "eventName": {
      "type": "string",
      "description": "Event name for event_received, inbound_webhook, inactivity, and frequency triggers."
    },
    "integrationSlug": {
      "type": "string",
      "description": "Integration slug for inbound_webhook triggers."
    },
    "integrationEventKey": {
      "type": "string",
      "description": "Integration event key for inbound_webhook triggers."
    },
    "customIntegration": {
      "type": "object",
      "additionalProperties": true,
      "description": "Custom inbound-webhook integration metadata."
    },
    "propertyFilters": {
      "type": "array",
      "maxItems": 10,
      "description": "Event property filters for event_received and inbound_webhook triggers. The sequence only starts when the triggering event's properties match all filters. Use [] in the path to match items inside arrays.",
      "items": {
        "$ref": "#/$defs/SequenceTriggerPropertyFilter"
      }
    },
    "inactiveDays": {
      "type": "number",
      "minimum": 1,
      "description": "Days of inactivity before the sequence starts."
    },
    "inactivityBaseline": {
      "type": "string",
      "enum": [
        "sequence_created_at",
        "subscriber_created_at"
      ],
      "description": "For inactivity triggers, controls when to start counting for subscribers who have never performed the event. Defaults to sequence_created_at."
    },
    "minCount": {
      "type": "number",
      "minimum": 1,
      "description": "Minimum event count for frequency triggers."
    },
    "timeWindowDays": {
      "type": "number",
      "minimum": 1,
      "description": "Time window in days for frequency triggers."
    },
    "enrollmentMode": {
      "$ref": "#/$defs/SequenceEnrollmentMode"
    },
    "enrollmentFieldPath": {
      "type": "string",
      "description": "Scalar dot-path event property used by matching_field enrollment, such as order.id or product.providerVariantId. Array traversal with [] is not supported; use propertyFilters for array matching. Applies to event_received and inbound_webhook triggers. Leave empty for built-in Shopify product/variant defaults."
    },
    "sendingWindow": {
      "anyOf": [
        {
          "allOf": [
            {
              "$ref": "#/$defs/SequenceSendingWindow"
            }
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "frequencyCapEnabled": {
      "type": "boolean",
      "default": false,
      "description": "Whether the sequence respects the company frequency cap (`/frequency-cap`). When true, an email step is skipped for a contact who already received the cap's number of campaign or marketing sequence emails in its window, and the contact continues to the next step. Transactional steps are never skipped and transactional emails never count. Has no effect until a cap is set."
    },
    "keyDates": {
      "description": "Named absolute moments for waitUntilKeyDate steps. Null clears them.",
      "anyOf": [
        {
          "allOf": [
            {
              "$ref": "#/$defs/SequenceKeyDates"
            }
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "emailCount": {
      "type": "number",
      "minimum": 1,
      "maximum": 10,
      "description": "Number of emails for AI-generated content. Defaults to 5. Maximum is 10."
    },
    "durationDays": {
      "type": "number",
      "minimum": 1,
      "description": "Total duration in days used to space AI-generated emails. Omit this to use the default sequence delay schedule."
    },
    "emailStyle": {
      "type": "string",
      "enum": [
        "visual",
        "plain"
      ],
      "description": "Style for the AI-generated emails: visual (designed, with heroes/imagery/rich sections) or plain (personal, text-first notes with a single button). Defaults to the company's saved preference when omitted."
    },
    "goal": {
      "type": "string",
      "description": "Goal for AI-generated sequence content. Provide either goal or steps, or omit both for a blank dashboard-compatible draft."
    },
    "stopCondition": {
      "$ref": "#/$defs/SequenceStopCondition"
    },
    "steps": {
      "type": "array",
      "description": "Explicit email and action steps. Provide either steps or goal, or omit both for a blank dashboard-compatible draft.",
      "items": {
        "$ref": "#/$defs/SequenceStepInput"
      }
    }
  },
  "$defs": {
    "EmailBlock": {
      "type": "object",
      "description": "Email content block. The shape depends on the block type. Any block may carry a `conditions` array so it renders only for matching recipients, the structural `group` type wraps children in Stack, Row, Grid, or Overlay layout, and `conditional-group` adds if/else branching via `ifBranch` and `elseBranch` (each an object with a `children` array).",
      "required": [
        "type"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "text",
            "html",
            "heading",
            "list",
            "button",
            "spacer",
            "divider",
            "image",
            "columns",
            "group",
            "conditional-group",
            "repeat",
            "card",
            "cta",
            "social",
            "logo",
            "header",
            "footer",
            "video",
            "product",
            "discount-code",
            "code",
            "countdown",
            "hero",
            "testimonial",
            "gallery",
            "badge",
            "table",
            "features",
            "image-card",
            "pricing",
            "author",
            "article",
            "rating",
            "stats",
            "steps",
            "product-grid",
            "poll"
          ]
        },
        "content": {
          "type": "string",
          "description": "Content for text, html, and heading-like blocks."
        },
        "label": {
          "type": "string",
          "maxLength": 120,
          "default": "Group",
          "description": "Editor label for a structural group block."
        },
        "layout": {
          "type": "string",
          "enum": [
            "stack",
            "row",
            "grid",
            "overlay"
          ],
          "default": "stack",
          "description": "Direct-child layout for a structural group block."
        },
        "columns": {
          "type": "integer",
          "minimum": 1,
          "maximum": 4,
          "default": 2,
          "description": "Number of columns used by a group with grid layout."
        },
        "gap": {
          "type": "integer",
          "minimum": 0,
          "maximum": 64,
          "default": 16,
          "description": "Gap in pixels between direct group children."
        },
        "stackOnMobile": {
          "type": "boolean",
          "default": true,
          "description": "Columns block only. Multi-column rows stack into a single column on screens 480px wide or narrower. Set to false to keep the columns side by side on mobile. Omit or set to true for the default stacking."
        },
        "padding": {
          "type": "integer",
          "minimum": 0,
          "maximum": 64,
          "default": 0,
          "description": "Uniform group padding in pixels; per-side styles.padding* fields override it."
        },
        "overlayColor": {
          "type": "string",
          "default": "#000000",
          "description": "Opaque fallback and shade color for an overlay group."
        },
        "overlayShade": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100,
          "default": 35,
          "description": "Overlay shade intensity as a percentage."
        },
        "overlayPosition": {
          "type": "string",
          "enum": [
            "top",
            "center",
            "bottom"
          ],
          "default": "center",
          "description": "Vertical position of overlay foreground content."
        },
        "children": {
          "type": "array",
          "minItems": 1,
          "maxItems": 100,
          "description": "Recursive child blocks for group and repeat containers.",
          "items": {
            "$ref": "#/$defs/EmailBlock"
          }
        },
        "styles": {
          "type": "object",
          "description": "Per-block visual styles. For compatibility, style fields such as backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius can also be supplied at the block top level and are normalized into this object.",
          "additionalProperties": false,
          "properties": {
            "paddingTop": {
              "type": "number"
            },
            "paddingBottom": {
              "type": "number"
            },
            "paddingLeft": {
              "type": "number"
            },
            "paddingRight": {
              "type": "number"
            },
            "backgroundColor": {
              "type": "string"
            },
            "backgroundOpacity": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Background opacity percentage from 0 to 100."
            },
            "textColor": {
              "type": "string"
            },
            "textAlign": {
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "keepAlign": {
              "type": "boolean",
              "description": "Keep a centered button, logo or footer centered when the email is left-aligned (layout.contentAlign left). Without it a left email moves these blocks left; right always stays."
            },
            "borderRadius": {
              "type": "number"
            },
            "borderColor": {
              "type": "string"
            },
            "borderWidth": {
              "type": "number"
            },
            "bleed": {
              "type": "boolean",
              "description": "Stretch the block edge-to-edge across the email container. Top-level blocks only."
            }
          }
        },
        "conditions": {
          "type": "array",
          "description": "Optional per-block display rules. The block renders only when every rule matches. The same shape is used for a conditional-group block's top-level `conditions`.",
          "items": {
            "type": "object",
            "required": [
              "id",
              "field",
              "operator",
              "value"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "field": {
                "type": "string",
                "enum": [
                  "variable",
                  "attribute",
                  "email",
                  "firstName",
                  "lastName"
                ],
                "description": "`variable` resolves a merge-tag path from the transactional send `variables` or an automation `event` payload (nested paths like `order.total` or `event.plan` work). `attribute` reads a stored subscriber attribute. `email`, `firstName`, and `lastName` read core subscriber fields."
              },
              "operator": {
                "type": "string",
                "enum": [
                  "is",
                  "is_not",
                  "contains",
                  "not_contains",
                  "gt",
                  "gte",
                  "lt",
                  "lte",
                  "is_empty",
                  "is_not_empty"
                ]
              },
              "value": {
                "type": "string",
                "description": "For `variable` and `attribute`, use `name:value` - the part before the colon is the variable path or attribute name, and the part after it is the comparison value. For `email`, `firstName`, and `lastName`, provide the plain comparison string."
              }
            }
          }
        }
      },
      "additionalProperties": true
    },
    "SequenceDelayInput": {
      "type": "object",
      "description": "Delay before this step runs. Use duration fields for fixed waits, mode until_date with untilDateField for a date from the trigger event or a contact attribute (untilDateSource), mode until_weekday with the weekday window fields, or mode until_key_date with untilKeyDate (prefer the waitUntilKeyDate shorthand).",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "duration",
            "until_date",
            "until_weekday",
            "until_key_date"
          ],
          "description": "Delay mode. Defaults to duration."
        },
        "untilKeyDate": {
          "type": "string",
          "description": "Key of a sequence key date to wait relative to when mode is until_key_date."
        },
        "keyDate": {
          "type": "string",
          "description": "Alias for untilKeyDate."
        },
        "untilPastAction": {
          "type": "string",
          "enum": [
            "continue",
            "skip",
            "exit"
          ],
          "description": "For until_key_date and until_date, what a late enrollee does when the moment already passed. continue moves on immediately, skip skips the following email and action steps until the next wait, condition or branch, exit ends the enrollment. Defaults to skip for until_key_date and continue for until_date."
        },
        "pastAction": {
          "type": "string",
          "enum": [
            "continue",
            "skip",
            "exit"
          ],
          "description": "Alias for untilPastAction."
        },
        "days": {
          "type": "number",
          "minimum": 0
        },
        "hours": {
          "type": "number",
          "minimum": 0
        },
        "minutes": {
          "type": "number",
          "minimum": 0
        },
        "untilDateField": {
          "type": "string",
          "description": "Date field path to wait until when mode is until_date, read from the source chosen by untilDateSource."
        },
        "field": {
          "type": "string",
          "description": "Alias for untilDateField."
        },
        "untilDateSource": {
          "type": "string",
          "enum": [
            "event",
            "attribute"
          ],
          "description": "Where untilDateField is read from when mode is until_date. event reads the trigger event properties; attribute reads the contact's custom attributes when the step is reached. Defaults to event."
        },
        "source": {
          "type": "string",
          "enum": [
            "event",
            "attribute"
          ],
          "description": "Alias for untilDateSource."
        },
        "untilOffsetDirection": {
          "type": "string",
          "enum": [
            "before",
            "after"
          ],
          "description": "Whether the offset runs before or after the date field. Defaults to after."
        },
        "direction": {
          "type": "string",
          "enum": [
            "before",
            "after"
          ],
          "description": "Alias for untilOffsetDirection."
        },
        "untilMissingAction": {
          "type": "string",
          "enum": [
            "continue",
            "exit"
          ],
          "description": "What to do when the date field is missing or invalid. Defaults to continue."
        },
        "missingAction": {
          "type": "string",
          "enum": [
            "continue",
            "exit"
          ],
          "description": "Alias for untilMissingAction."
        },
        "untilDays": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Weekdays the wait may release on when mode is until_weekday."
        },
        "untilStartTime": {
          "type": "string",
          "description": "Window start in 24-hour HH:mm local time when mode is until_weekday."
        },
        "untilEndTime": {
          "type": "string",
          "description": "Window end in 24-hour HH:mm local time when mode is until_weekday. Defaults to the end-of-day boundary 24:00."
        },
        "untilTimezone": {
          "type": "string",
          "description": "IANA timezone used to evaluate the window when mode is until_weekday. The fallback when untilTimezoneSource is subscriber."
        },
        "untilTimezoneSource": {
          "type": "string",
          "enum": [
            "fixed",
            "subscriber"
          ],
          "default": "fixed",
          "description": "When mode is until_weekday, fixed uses untilTimezone for every contact and subscriber uses each contact's own timezone with untilTimezone as the fallback."
        }
      }
    },
    "SequenceDelayOffsetInput": {
      "type": "object",
      "description": "Relative offset for a delay.",
      "properties": {
        "days": {
          "type": "number",
          "minimum": 0
        },
        "hours": {
          "type": "number",
          "minimum": 0
        },
        "minutes": {
          "type": "number",
          "minimum": 0
        }
      }
    },
    "SequenceDiscountInput": {
      "type": "object",
      "description": "Discount configuration for dynamic create_discount steps.",
      "properties": {
        "label": {
          "type": "string",
          "description": "Builder label for discount steps."
        },
        "provider": {
          "type": "string",
          "enum": [
            "stripe",
            "shopify"
          ],
          "description": "Discount provider. Use stripe to dynamically create a Stripe coupon plus promotion code, or shopify to dynamically create a Shopify Admin discount code."
        },
        "discountType": {
          "type": "string",
          "enum": [
            "percent",
            "amount"
          ],
          "description": "Discount type for create_discount steps."
        },
        "percentOff": {
          "type": "number",
          "minimum": 1,
          "maximum": 100,
          "description": "Percent discount. Required when discountType is percent."
        },
        "amountOff": {
          "type": "number",
          "minimum": 1,
          "description": "Fixed discount amount in the smallest currency unit, for example 500 for $5. Required when discountType is amount."
        },
        "currency": {
          "type": "string",
          "description": "ISO currency for fixed-amount discounts. Defaults to usd."
        },
        "duration": {
          "type": "string",
          "enum": [
            "once",
            "forever",
            "repeating"
          ],
          "description": "Discount duration. Defaults to once."
        },
        "durationInMonths": {
          "type": "number",
          "minimum": 1,
          "description": "Required for repeating discounts."
        },
        "appliesToAllPlans": {
          "type": "boolean",
          "description": "Whether the discount applies to all plans. Defaults to true."
        },
        "planIds": {
          "type": "array",
          "description": "Provider product IDs when appliesToAllPlans is false. Stripe uses IDs like prod_abc123; Shopify accepts numeric product IDs or gid://shopify/Product/... IDs.",
          "items": {
            "type": "string"
          }
        },
        "codePrefix": {
          "type": "string",
          "description": "Optional prefix for generated dynamic codes. The final code also includes a subscriber/token suffix."
        },
        "maxRedemptions": {
          "type": "number",
          "minimum": 1,
          "description": "Maximum redemptions for each generated code. Use 1 for subscriber-specific codes."
        },
        "lockToSubscriber": {
          "type": "boolean",
          "description": "Stripe-only. Restrict each generated promotion code to the matched subscriber's Stripe customer."
        },
        "expiresAt": {
          "type": "string",
          "description": "Optional future expiration date or ISO timestamp. Mutually exclusive with expiresInHours."
        },
        "expiresInHours": {
          "type": "number",
          "minimum": 1,
          "description": "Optional relative expiration in hours, resolved when each subscriber's code is created. Takes precedence over expiresAt."
        },
        "name": {
          "type": "string",
          "description": "Optional display name for each dynamically generated provider discount."
        }
      }
    },
    "SequenceEnrollmentMode": {
      "type": "string",
      "enum": [
        "unlimited",
        "one_time",
        "matching_field"
      ],
      "description": "Controls sequence re-entry. `unlimited` allows re-entry after completion but prevents concurrent active runs. `one_time` allows one enrollment ever. `matching_field` is only valid for event-triggered sequences and allows concurrent active runs only when the trigger payload resolves to a different event field value.\n"
    },
    "SequenceKeyDate": {
      "type": "object",
      "required": [
        "label",
        "at"
      ],
      "properties": {
        "key": {
          "type": "string",
          "description": "Stable identifier referenced by waitUntilKeyDate.key (lowercase letters, digits, underscores). Defaults to a slug of the label."
        },
        "label": {
          "type": "string",
          "description": "Human label shown in the builder."
        },
        "at": {
          "type": "string",
          "format": "date-time",
          "description": "ISO 8601 date-time. A value without a zone designator (\"2026-11-27T00:00\") is read as wall-clock time in the key dates timezone. Stored and returned normalized to UTC."
        }
      }
    },
    "SequenceKeyDates": {
      "type": "object",
      "description": "Named absolute moments the sequence counts down to. Delay steps with waitUntilKeyDate wait relative to one of them, so the whole countdown is re-timed by editing these dates. Changing a key date on a live sequence re-schedules contacts already waiting on it. Send null to clear.",
      "required": [
        "dates"
      ],
      "properties": {
        "timezone": {
          "type": "string",
          "description": "IANA timezone the dates are shown and edited in. Required when dates is non-empty."
        },
        "dates": {
          "type": "array",
          "maxItems": 20,
          "description": "Sorted by time when returned.",
          "items": {
            "$ref": "#/$defs/SequenceKeyDate"
          }
        },
        "sendWindow": {
          "type": [
            "object",
            "null"
          ],
          "description": "How sends timed from these moments are spread out, so a whole audience is not emailed in the same second. Each contact gets their own stable send time within the spread, after the moment for steps at or after it and in the hours leading up to the step's time for steps timed before it, so a \"1 hour before Black Friday ends\" email never lands after the sale ended. Omit it on update to keep the current spread, and send null to reset it to the default. Responses always include the effective value.",
          "properties": {
            "spreadOverHours": {
              "type": "number",
              "minimum": 0,
              "maximum": 24,
              "default": 4,
              "description": "Spread each email over this many hours. 0 sends everyone at the exact time."
            }
          }
        }
      }
    },
    "SequenceSendingWindow": {
      "type": "object",
      "description": "Optional local-time sending window applied to every email step in a sequence. Email steps that become due outside the window wait until the next allowed local time.",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "timezone": {
          "type": "string",
          "description": "IANA timezone for the window."
        },
        "startTime": {
          "type": "string",
          "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
          "description": "Earliest local send time in 24-hour HH:mm format."
        },
        "endTime": {
          "type": "string",
          "pattern": "^(([01][0-9]|2[0-3]):[0-5][0-9]|24:00)$",
          "description": "Latest local send cutoff in 24-hour HH:mm format, or 24:00 for the end-of-day boundary. Must be later than startTime."
        },
        "days": {
          "type": "array",
          "description": "Allowed local days. Omit days when creating or updating to allow every day.",
          "items": {
            "type": "string",
            "enum": [
              "sunday",
              "monday",
              "tuesday",
              "wednesday",
              "thursday",
              "friday",
              "saturday"
            ]
          }
        }
      }
    },
    "SequenceStepInput": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "email",
            "sms",
            "push",
            "create_discount",
            "discount",
            "update_subscriber"
          ],
          "description": "Step type. Omit or use email for email content; use sms for a native SMS step; use push for a push notification step; use create_discount for a dynamic discount; use update_subscriber for an Update Subscriber action."
        },
        "nodeType": {
          "type": "string",
          "enum": [
            "action_email",
            "action_sms",
            "action_push",
            "action_create_discount",
            "action_update_attributes"
          ],
          "description": "Internal node-type alias for clients that work with automation nodes. Use action_update_attributes with config for Update Subscriber steps."
        },
        "config": {
          "$ref": "#/$defs/SubscriberUpdateConfig"
        },
        "subject": {
          "type": "string",
          "description": "Email subject line for email steps."
        },
        "previewText": {
          "type": "string",
          "description": "Optional email preview text."
        },
        "text": {
          "type": "string",
          "description": "SMS steps only. Plain-text message body; merge tags like {{FIRST_NAME}} work. Do not include opt-out text or a brand prefix - Sequenzy adds both automatically at send time."
        },
        "imageUrls": {
          "type": "array",
          "description": "SMS steps only. Up to 2 publicly reachable image URLs sent as MMS media.",
          "items": {
            "type": "string"
          }
        },
        "title": {
          "type": "string",
          "maxLength": 120,
          "description": "Push steps only. Notification title; merge tags work."
        },
        "body": {
          "type": "string",
          "maxLength": 500,
          "description": "Push steps only. Notification message; merge tags work."
        },
        "url": {
          "type": [
            "string",
            "null"
       

# --- truncated at 32 KB (60 KB total) ---
# Full source: https://artifacts.apis.io/sequenzy/json-schema/sequenzy-sequence-create-request-schema.json

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-sequence-create-request"
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.