MCP Control
Коммуникации · Чувствительное действие

Рассылки · Создание

broadcast_create
Контактные карточки и телефон

Попробуйте три запроса

Подготовить
  1. Вы указываетеIntegrationid
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Рассылки / Создание». Для изменения нужны integrationId, channel. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
integrationId
Параметр
channel
Параметр
subject
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Рассылки / Создание» с параметром channel = email. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
channel
email
integrationId
DEMO-101
text
Учебный текст
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Рассылки / Создание» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.

Описание разработчика

Queue or schedule the reviewed native Email/SMS broadcast. Uses existing Companies/Campaigns, Cloud Tasks and outbound-message delivery with stable per-recipient keys. Queued/completed dispatch is not proof of delivered messages; inspect broadcast_receipts. After uncertainty use broadcast_get_operation with the original requestId before any new send.

Параметры запроса
integrationId
Native integrationId value; use the value and type returned by the corresponding service. обязательно по схеме · string
channel
Native channel value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты email, sms
subject
Native subject value; use the value and type returned by the corresponding service. обязательно по схеме · string · по умолчанию "" · до символов 500
text
Native text value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 40000
recipients
Native recipients value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 500
scheduledAt
Native scheduledAt value; use the value and type returned by the corresponding service. обязательно по схеме · string / null · по умолчанию null
consent
User confirmed these exact recipients may receive this message; never infer consent from presence in the CRM. обязательно по схеме · boolean
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
reviewHash
Exact hash from broadcast_preview with identical recipients, content, schedule and requestId. обязательно по схеме · string
Что вернёт команда
companyId
Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
result
Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа broadcast_create
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "integrationId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native integrationId value; use the value and type returned by the corresponding service."
    },
    "channel": {
      "type": "string",
      "enum": [
        "email",
        "sms"
      ],
      "description": "Native channel value; use the value and type returned by the corresponding service."
    },
    "subject": {
      "default": "",
      "description": "Native subject value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 500
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40000,
      "description": "Native text value; use the value and type returned by the corresponding service."
    },
    "recipients": {
      "minItems": 1,
      "maxItems": 500,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 254
      },
      "description": "Native recipients value; use the value and type returned by the corresponding service."
    },
    "scheduledAt": {
      "default": null,
      "description": "Native scheduledAt value; use the value and type returned by the corresponding service.",
      "anyOf": [
        {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
        },
        {
          "type": "null"
        }
      ]
    },
    "consent": {
      "type": "boolean",
      "const": true,
      "description": "User confirmed these exact recipients may receive this message; never infer consent from presence in the CRM."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    },
    "reviewHash": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Exact hash from broadcast_preview with identical recipients, content, schedule and requestId."
    }
  },
  "required": [
    "integrationId",
    "channel",
    "subject",
    "text",
    "recipients",
    "scheduledAt",
    "consent",
    "requestId",
    "reviewHash"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native companyId value; use the value and type returned by the corresponding service."
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native result value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "companyId",
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}