{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-update-campaign-request-schema.json",
  "title": "UpdateCampaignRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-campaign-api-openapi.yml#/components/schemas/UpdateCampaignRequest",
  "properties": {
    "autoRenewal": {
      "default": true,
      "description": "Help message of the campaign.",
      "title": "Autorenewal",
      "type": "boolean"
    },
    "helpMessage": {
      "description": "Help message of the campaign.",
      "maxLength": 255,
      "title": "Helpmessage",
      "type": "string"
    },
    "messageFlow": {
      "description": "Message flow description.",
      "maxLength": 2048,
      "title": "Messageflow",
      "type": "string"
    },
    "resellerId": {
      "description": "Alphanumeric identifier of the reseller that you want to associate with this campaign.",
      "maxLength": 8,
      "title": "Resellerid",
      "type": "string"
    },
    "sample1": {
      "description": "Message sample. Some campaign tiers require 1 or more message samples.",
      "maxLength": 255,
      "title": "Sample1",
      "type": "string"
    },
    "sample2": {
      "description": "Message sample. Some campaign tiers require 2 or more message samples.",
      "maxLength": 255,
      "title": "Sample2",
      "type": "string"
    },
    "sample3": {
      "description": "Message sample. Some campaign tiers require 3 or more message samples.",
      "maxLength": 255,
      "title": "Sample3",
      "type": "string"
    },
    "sample4": {
      "description": "Message sample. Some campaign tiers require 4 or more message samples.",
      "maxLength": 255,
      "title": "Sample4",
      "type": "string"
    },
    "sample5": {
      "description": "Message sample. Some campaign tiers require 5 or more message samples.",
      "maxLength": 255,
      "title": "Sample5",
      "type": "string"
    },
    "webhookFailoverURL": {
      "description": "Webhook failover to which campaign status updates are sent.",
      "title": "WebhookURL",
      "type": "string"
    },
    "webhookURL": {
      "description": "Webhook to which campaign status updates are sent.",
      "title": "WebhookURL",
      "type": "string"
    }
  },
  "type": "object"
}