Optimizely · Schema

RestMessageNode

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
nodeId string Node ID
name string Mailing name
mailingId integer Mailing ID
description string Mailing description
mediaType string Media type of the mailing
status string Current status of the mailing
created string Creation date
modified string Modification date
started string Start date of the mailing
finished string Finish date of the mailing
senderAddress string Email address of the sender
senderName string Sender name
replyToAddress string Email address for reply emails
replyToName string Name for reply emails
subject object
mediaCode string Media code of the mailing
format string Mailing format
dispatchOption string Dispatch options of the print mailing
dispatchStrategyOption string Dispatch strategy of the print mailing
accumulateMessagesForDays integer Number of messages per day
pushType string Push type (push message)
icon string Icon (push message)
clickAction string Click action (push message)
archiveEnabled boolean Is mail archiving enabled
archivePeriod string Mail archiving period
smsParts integer Number of SMS parts
deeplinks object Deeplinks of the push message
links array Restful links
content string Mailing content
payload object Payload of the push message
contentType object Content type of the mailing
expiry string Expiry date and time of the push message
attachmentIds array Comma-separated list of attachment IDs
gridLocation object
View JSON Schema on GitHub

JSON Schema

optimizely-rest-message-node-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-rest-message-node-schema.json",
  "title": "RestMessageNode",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-smart-campaigns-api-openapi.yml#/components/schemas/RestMessageNode",
  "type": "object",
  "properties": {
    "nodeId": {
      "type": "string",
      "description": "Node ID"
    },
    "name": {
      "type": "string",
      "description": "Mailing name"
    },
    "mailingId": {
      "type": "integer",
      "description": "Mailing ID",
      "format": "int64"
    },
    "description": {
      "type": "string",
      "description": "Mailing description"
    },
    "mediaType": {
      "type": "string",
      "description": "Media type of the mailing"
    },
    "status": {
      "type": "string",
      "description": "Current status of the mailing",
      "enum": [
        "invalid",
        "activationRequired",
        "activated",
        "canceled",
        "paused",
        "running",
        "finished"
      ]
    },
    "created": {
      "type": "string",
      "description": "Creation date",
      "format": "date-time"
    },
    "modified": {
      "type": "string",
      "description": "Modification date",
      "format": "date-time"
    },
    "started": {
      "type": "string",
      "description": "Start date of the mailing",
      "format": "date-time"
    },
    "finished": {
      "type": "string",
      "description": "Finish date of the mailing",
      "format": "date-time"
    },
    "senderAddress": {
      "type": "string",
      "description": "Email address of the sender"
    },
    "senderName": {
      "type": "string",
      "description": "Sender name"
    },
    "replyToAddress": {
      "type": "string",
      "description": "Email address for reply emails"
    },
    "replyToName": {
      "type": "string",
      "description": "Name for reply emails"
    },
    "subject": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "mediaCode": {
      "type": "string",
      "description": "Media code of the mailing"
    },
    "format": {
      "type": "string",
      "description": "Mailing format"
    },
    "dispatchOption": {
      "type": "string",
      "description": "Dispatch options of the print mailing"
    },
    "dispatchStrategyOption": {
      "type": "string",
      "description": "Dispatch strategy of the print mailing"
    },
    "accumulateMessagesForDays": {
      "type": "integer",
      "description": "Number of messages per day",
      "format": "int32"
    },
    "pushType": {
      "type": "string",
      "description": "Push type (push message)",
      "enum": [
        "MOBILE",
        "WEB"
      ]
    },
    "icon": {
      "type": "string",
      "description": "Icon (push message)"
    },
    "clickAction": {
      "type": "string",
      "description": "Click action (push message)"
    },
    "archiveEnabled": {
      "type": "boolean",
      "description": "Is mail archiving enabled"
    },
    "archivePeriod": {
      "type": "string",
      "description": "Mail archiving period",
      "enum": [
        "ONE_MONTH",
        "TWO_MONTHS",
        "THREE_MONTHS",
        "SIX_MONTHS",
        "ONE_YEAR",
        "TWO_YEARS"
      ]
    },
    "smsParts": {
      "type": "integer",
      "description": "Number of SMS parts",
      "format": "int32"
    },
    "deeplinks": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "description": "Deeplinks of the push message"
      },
      "description": "Deeplinks of the push message"
    },
    "links": {
      "type": "array",
      "description": "Restful links",
      "items": {
        "type": "object",
        "properties": {
          "uriBuilder": {
            "type": "object"
          },
          "rels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "rel": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "params": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "title": {
            "type": "string"
          },
          "uri": {
            "type": "string",
            "format": "uri"
          }
        },
        "description": "Restful links"
      }
    },
    "content": {
      "type": "string",
      "description": "Mailing content"
    },
    "payload": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "description": "Payload of the push message"
      },
      "description": "Payload of the push message"
    },
    "contentType": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "subtype": {
          "type": "string"
        },
        "parameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "wildcardType": {
          "type": "boolean"
        },
        "wildcardSubtype": {
          "type": "boolean"
        }
      },
      "description": "Content type of the mailing"
    },
    "expiry": {
      "type": "string",
      "description": "Expiry date and time of the push message",
      "format": "date-time"
    },
    "attachmentIds": {
      "type": "array",
      "description": "Comma-separated list of attachment IDs",
      "items": {
        "type": "integer",
        "description": "Comma-separated list of attachment IDs",
        "format": "int64"
      }
    },
    "gridLocation": {
      "$ref": "#/$defs/Point"
    }
  },
  "$defs": {
    "Point": {
      "type": "object",
      "properties": {
        "x": {
          "type": "integer",
          "format": "int32"
        },
        "y": {
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Grid location point"
    }
  }
}

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/optimizely-rest-message-node"
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.