Sequenzy · Schema
SequenceCreateResponse
Email MarketingArtificial IntelligenceSoftware-as-a-ServiceAutomationDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| success | boolean | |
| message | string | |
| sequence | object | |
| warnings | object | Non-blocking advisories about a created sequence. Besides block and sender-identity advisories, POST /sequences reports request fields that were ignored (such as a nested `triggerConfig`, `delay: 2`, |
| eventTrackingCode | string | Code snippet returned for custom event triggers. |
| eventTracking | object | Endpoint, payload contract, example, documentation, and integration-guide pointer returned for custom event triggers. |
| requiredEvents | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sequenzy/json-schema/sequenzy-sequence-create-response-schema.json",
"title": "SequenceCreateResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sequenzy-sequences-api-openapi.yml#/components/schemas/SequenceCreateResponse",
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"sequence": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"$ref": "#/$defs/SequenceStatus"
},
"enrollmentPaused": {
"type": "boolean",
"description": "Whether new enrollments are paused while current recipients continue."
},
"effectiveStatus": {
"$ref": "#/$defs/SequenceEffectiveStatus"
},
"acceptsNewEnrollments": {
"type": "boolean",
"description": "Whether new subscribers can enter the sequence right now."
},
"processesExistingEnrollments": {
"type": "boolean",
"description": "Whether subscribers already inside the sequence keep advancing and receiving steps."
},
"effectiveStatusSummary": {
"type": "string",
"description": "One plain-language sentence describing the run state, safe to show a user verbatim."
},
"trigger": {
"type": "string"
},
"emailCount": {
"type": "number"
},
"discountCount": {
"type": "number"
},
"subscriberUpdateCount": {
"type": "number"
},
"nodeCount": {
"type": "number"
},
"enrichmentStatus": {
"type": "string"
},
"stopCondition": {
"$ref": "#/$defs/SequenceStopCondition"
},
"sendingWindow": {
"anyOf": [
{
"allOf": [
{
"$ref": "#/$defs/SequenceSendingWindow"
}
]
},
{
"type": "null"
}
]
},
"frequencyCapEnabled": {
"type": "boolean",
"description": "Whether email steps respect the company frequency cap."
},
"activeSubscribersOnly": {
"type": "boolean",
"description": "Whether only active contacts can enter. When `false`, unsubscribed and bounced contacts still enter and only their marketing emails are skipped."
},
"keyDates": {
"anyOf": [
{
"allOf": [
{
"$ref": "#/$defs/SequenceKeyDates"
}
]
},
{
"type": "null"
}
]
}
}
},
"warnings": {
"$ref": "#/$defs/BlockFieldWarnings",
"description": "Non-blocking advisories about a created sequence. Besides block and sender-identity advisories, POST /sequences reports request fields that were ignored (such as a nested `triggerConfig`, `delay: 2`, `delayDays` or a body `companyId` that differs from the selected company), `contact_added` list IDs not found in the company, and a `contact_added` trigger sent with no list and no `listScope`. The sequence is still created as a draft; fix these before enabling it. Absent when there is nothing to report."
},
"eventTrackingCode": {
"type": "string",
"description": "Code snippet returned for custom event triggers."
},
"eventTracking": {
"type": "object",
"description": "Endpoint, payload contract, example, documentation, and integration-guide pointer returned for custom event triggers.",
"properties": {
"endpoint": {
"type": "string"
},
"method": {
"type": "string"
},
"docsUrl": {
"type": "string"
},
"integrationGuide": {
"type": "object",
"properties": {
"tool": {
"type": "string"
},
"arguments": {
"type": "object",
"additionalProperties": true
}
}
},
"payloadContract": {
"type": "object",
"properties": {
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"identity": {
"type": "string"
},
"event": {
"type": "string"
},
"properties": {
"type": "string"
},
"requiredPropertyPaths": {
"type": "array",
"items": {
"type": "string"
}
},
"propertyFilters": {
"type": "array",
"description": "Normalized trigger filters that the event properties must satisfy before the sequence can enroll the subscriber.",
"items": {
"$ref": "#/$defs/SequenceTriggerPropertyFilter"
}
}
}
},
"examplePayload": {
"type": "object",
"additionalProperties": true
},
"examplePayloadMatchesFilters": {
"type": "boolean",
"description": "Whether examplePayload already satisfies every normalized property filter. When false, adapt properties using payloadContract before sending the sample."
},
"examplePayloadNote": {
"type": "string",
"description": "Present when the generated example needs manual property adaptation before it satisfies every filter."
}
}
},
"requiredEvents": {
"type": "array",
"items": {
"type": "string"
}
}
},
"$defs": {
"BlockFieldWarnings": {
"type": "array",
"description": "Non-blocking advisories about a successful write. Present when an input was discarded or did not take effect as requested. This includes block fields that do not render as their names suggest, sequence email-step formatting restored on top of submitted blocks, and sender-identity conflicts such as a replyToName that differs from the saved profile. Each message identifies the affected input and gives recovery guidance. Absent when there is nothing to report.",
"items": {
"type": "string"
}
},
"SequenceEffectiveStatus": {
"type": "string",
"enum": [
"draft",
"live",
"enrollment_paused",
"paused",
"archived"
],
"description": "Resolved run state, and the single field to branch on. live accepts new subscribers and advances existing recipients; enrollment_paused advances existing recipients only; draft, paused, and archived do neither."
},
"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"
]
}
}
}
},
"SequenceStatus": {
"type": "string",
"enum": [
"draft",
"active",
"paused",
"archived"
],
"description": "Stored lifecycle status. Do not read literally: a sequence can be active while enrollmentPaused blocks new subscribers. Branch on effectiveStatus instead."
},
"SequenceStopCondition": {
"type": "object",
"description": "Auto-stop condition, re-evaluated before every step including the first one. has_tag, added_to_list, entered_segment, field_changed, and event_received stop the run once the thing happens. event_received only counts events received after enrollment - the enrolling event and earlier history never satisfy the stop. does_not_have_tag and removed_from_list stop the run whenever the subscriber lacks that tag or list membership, so they act as a required-tag or required-list allowlist and cancel everyone else before any step sends. Guarded-out contacts still enroll and are then cancelled at the trigger node, so they appear as cancellations there rather than in the active or waiting enrollment counts. Clearing the guard does not retry them: they only receive the sequence if the trigger fires for them again, and on the one_time enrollment mode not even then.",
"properties": {
"type": {
"type": "string",
"enum": [
"none",
"has_tag",
"does_not_have_tag",
"added_to_list",
"removed_from_list",
"entered_segment",
"field_changed",
"event_received"
]
},
"value": {
"type": [
"string",
"null"
],
"description": "Tag name, list ID, segment ID, field path, or event name. For the does_not_have_tag and removed_from_list guards this is the tag or list a subscriber must have to keep receiving the sequence. Null with entry_audience matching means the tag or list that enrolled each contact is used."
},
"matchConfig": {
"description": "Optional typed match rule. event_received uses event_property_filter propertyFilters (stop only when an event received after enrollment matches every filter, e.g. quota_used greater_than 1) or event_property rules (stop only when the stop event's field equals the same field captured on the enrolling event); field_changed uses a field_value comparison. Tag/list defaults use entry_audience to resolve the required tag or list per enrollment. Tag entry matching requires a tag_added trigger; list entry matching requires a contact_added trigger scoped to at least one specific list.",
"anyOf": [
{
"oneOf": [
{
"type": "object",
"required": [
"mode",
"propertyFilters"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"event_property_filter"
]
},
"propertyFilters": {
"type": "array",
"description": "Filters an event received after enrollment must all match for the stop to fire. Same shape as event trigger propertyFilters.",
"items": {
"type": "object",
"required": [
"path",
"operator"
],
"properties": {
"path": {
"type": "string",
"description": "Dot-path into the stop event's properties."
},
"operator": {
"type": "string",
"enum": [
"exists",
"not_exists",
"equals",
"not_equals",
"one_of",
"contains",
"greater_than",
"less_than"
]
},
"value": {
"description": "Comparison value (string, number, or boolean; array of values for one_of). Omit for exists/not_exists."
}
}
}
}
}
},
{
"type": "object",
"required": [
"mode",
"rules"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"event_property"
]
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"entryFieldPath",
"eventFieldPath"
],
"properties": {
"entryFieldPath": {
"type": "string"
},
"eventFieldPath": {
"type": "string"
}
}
}
}
}
},
{
"type": "object",
"required": [
"mode",
"operator",
"value"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"field_value"
]
},
"operator": {
"type": "string",
"enum": [
"equals",
"not_equals",
"greater_than",
"less_than",
"contains",
"not_contains"
]
},
"value": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"mode",
"audience"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"entry_audience"
]
},
"audience": {
"type": "string",
"enum": [
"tag",
"list"
],
"description": "Use the tag or list recorded when this contact enrolled."
}
}
}
]
},
{
"type": "null"
}
]
}
}
},
"SequenceTriggerPropertyFilter": {
"type": "object",
"required": [
"path",
"operator"
],
"properties": {
"path": {
"type": "string",
"description": "Dot-path into the event properties. Use [] to match items inside arrays."
},
"operator": {
"type": "string",
"enum": [
"exists",
"not_exists",
"equals",
"not_equals",
"one_of",
"contains",
"greater_than",
"less_than"
],
"description": "Comparison operator. Value is required for every operator except exists and not_exists. `one_of` matches when the property equals any entry of the value array."
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"maxItems": 50,
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
}
],
"description": "Value to compare against. For `one_of`, pass a non-empty array of strings or numbers (maximum 50 values); all other operators take a single value."
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sequenzy-sequence-create-response"
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.