Optimizely · Schema

CampaignCreateRequest

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
title string Title of the campaign
description stringnull Description of the campaign
parent_campaign stringnull ID of the parent campaign
start_date string Start date of the campaign, in ISO 8601 UTC format (2025-02-10).
end_date string End date of the campaign, in ISO 8601 UTC format (2026-02-10).
owner_id string ID of the owner of the campaign
color string Color of the campaign
View JSON Schema on GitHub

JSON Schema

optimizely-campaign-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-campaign-create-request-schema.json",
  "title": "CampaignCreateRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-campaigns-api-openapi.yml#/components/schemas/CampaignCreateRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "title": {
      "type": "string",
      "description": "Title of the campaign"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description of the campaign"
    },
    "parent_campaign": {
      "type": [
        "string",
        "null"
      ],
      "description": "ID of the parent campaign"
    },
    "start_date": {
      "type": "string",
      "format": "date",
      "description": "Start date of the campaign, in ISO 8601 UTC format (2025-02-10)."
    },
    "end_date": {
      "type": "string",
      "format": "date",
      "description": "End date of the campaign, in ISO 8601 UTC format (2026-02-10)."
    },
    "owner_id": {
      "type": "string",
      "description": "ID of the owner of the campaign"
    },
    "color": {
      "type": "string",
      "enum": [
        "#333",
        "#ec2e3b",
        "#fc594b",
        "#e2575b",
        "#f45097",
        "#de55a9",
        "#bd417f",
        "#a959cc",
        "#6456b7",
        "#4db2fc",
        "#3a97be",
        "#36c5a3",
        "#9bc94e",
        "#fdad3c",
        "#ef803c",
        "#fd8876",
        "#ea868a",
        "#f781b5",
        "#e785c1",
        "#cf69a3",
        "#c187db",
        "#9086cc",
        "#79c8fd",
        "#5ab5d0",
        "#4fd5bd",
        "#b8d877",
        "#fec454",
        "#f3a35a",
        "#d3998f",
        "#c79697",
        "#d096af",
        "#c897b4",
        "#ae7c98",
        "#b094be",
        "#908bae",
        "#97bed8",
        "#7aa8b6",
        "#7abeb2",
        "#bece9d",
        "#e3c68d",
        "#d3ac85",
        "#b9a29e",
        "#b29f9f",
        "#b9a1ac",
        "#b5a1ae",
        "#9a8692",
        "#a89bac",
        "#908e9b",
        "#a8b9c3",
        "#8ea1a7",
        "#96b1ac",
        "#c1c8b5",
        "#d4c8b0",
        "#c0b0a1",
        "#212121",
        "#CE515B",
        "#F16281",
        "#EB7777",
        "#A25555",
        "#B05F8C",
        "#AF8EC3",
        "#21B7EC",
        "#3AB0C9",
        "#669BA8",
        "#7ABEB2",
        "#5F9DCE",
        "#717CB9",
        "#4C557E",
        "#449C6C",
        "#63B05F",
        "#4D9B93",
        "#ACC050",
        "#A29F55",
        "#8AA872",
        "#E4844C",
        "#EE9808",
        "#DE7009",
        "#FCD404",
        "#CBB039",
        "#99896A",
        "#2e2a26",
        "#ccccdc"
      ],
      "description": "Color of the campaign"
    }
  },
  "required": [
    "title"
  ]
}

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