{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clearstream-io/json-schema/clearstream-io-post-v1-keywords-request-schema.json",
  "title": "PostV1KeywordsRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/clearstream-io-openapi-generated.yml#/components/schemas/PostV1KeywordsRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Keyword name."
    },
    "enable_opt_in": {
      "type": "boolean",
      "description": "Whether to opt-in subscribers when they text this keyword."
    },
    "opt_in_lists": {
      "type": "array",
      "description": "List IDs to add the subscriber to."
    },
    "enable_autoresponse": {
      "type": "boolean",
      "description": "Whether to send an autoresponse text."
    },
    "autoresponse_header": {
      "type": "string",
      "description": "Header for the autoresponse text."
    },
    "autoresponse_body": {
      "type": "string",
      "description": "Body for the autoresponse text."
    },
    "autoresponse_setting": {
      "type": "string",
      "description": "When to send the autoresponse (ALWAYS, FIRST, NEW)."
    }
  },
  "required": [
    "name"
  ]
}