RuSender · Schema

CampaignDto

Email MarketingRussianSoftware-as-a-ServiceMarketing Automation

Properties

Name Type Description
id integer Идентификатор рассылки.
name string Название рассылки.
subject stringnull Тема письма.
previewTitle stringnull Preview-текст письма.
type string Тип рассылки.
status string Статус рассылки.
statusModerate string Статус модерации рассылки.
folderId integernull ID папки, в которой лежит рассылка. null — если не в папке.
isArchived boolean Находится ли рассылка в архиве.
dashboardUrl string Прямая ссылка на рассылку в дашборде
attachments array Вложения письма рассылки.
templateId integernull ID шаблона, используемого в рассылке.
senderId integernull ID email-отправителя.
senderEmail string Email адрес отправителя.
senderName stringnull Имя отправителя.
lists array Списки контактов, на которые идёт рассылка.
utm object UTM-метки кампании. Отсутствует, если UTM-метки не заданы.
settings object Настройки трекинга кампании.
scheduledAt stringnull Запланированное время старта рассылки (ISO 8601).
startedAt stringnull Фактическое время начала рассылки (ISO 8601).
finishedAt stringnull Время завершения рассылки (ISO 8601).
createdAt stringnull Время создания рассылки (ISO 8601).
updatedAt stringnull Время последнего обновления рассылки (ISO 8601).
stats object Статистика рассылки. Присутствует только при withStats=true. Внимание: для завершённой A/B-рассылки в списке это поле содержит агрегат по семье, а в get-by-id — собственные цифры базовой рассылки.
View JSON Schema on GitHub

JSON Schema

rusender-ru-campaign-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rusender-ru/json-schema/rusender-ru-campaign-dto-schema.json",
  "title": "CampaignDto",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rusender-ru-openapi.json#/components/schemas/CampaignDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Идентификатор рассылки."
    },
    "name": {
      "type": "string",
      "description": "Название рассылки."
    },
    "subject": {
      "type": [
        "string",
        "null"
      ],
      "description": "Тема письма."
    },
    "previewTitle": {
      "type": [
        "string",
        "null"
      ],
      "description": "Preview-текст письма."
    },
    "type": {
      "type": "string",
      "enum": [
        "regular",
        "ab_basic",
        "ab_variant",
        "follow_up_basic",
        "follow_up",
        "chunked"
      ],
      "description": "Тип рассылки."
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "built",
        "scheduled",
        "in_progress",
        "paused",
        "completed",
        "banned",
        "on_hold"
      ],
      "description": "Статус рассылки."
    },
    "statusModerate": {
      "type": "string",
      "enum": [
        "not_ready_to_moderate",
        "ready_to_moderate",
        "moderating",
        "approved",
        "banned",
        "paused"
      ],
      "description": "Статус модерации рассылки."
    },
    "folderId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ID папки, в которой лежит рассылка. null — если не в папке."
    },
    "isArchived": {
      "type": "boolean",
      "description": "Находится ли рассылка в архиве."
    },
    "dashboardUrl": {
      "type": "string",
      "description": "Прямая ссылка на рассылку в дашборде"
    },
    "attachments": {
      "description": "Вложения письма рассылки.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CampaignAttachmentDto"
      }
    },
    "templateId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ID шаблона, используемого в рассылке."
    },
    "senderId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ID email-отправителя."
    },
    "senderEmail": {
      "type": "string",
      "description": "Email адрес отправителя."
    },
    "senderName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Имя отправителя."
    },
    "lists": {
      "description": "Списки контактов, на которые идёт рассылка.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CampaignListReferenceDto"
      }
    },
    "utm": {
      "description": "UTM-метки кампании. Отсутствует, если UTM-метки не заданы.",
      "allOf": [
        {
          "$ref": "#/$defs/CampaignUtmDto"
        }
      ]
    },
    "settings": {
      "description": "Настройки трекинга кампании.",
      "allOf": [
        {
          "$ref": "#/$defs/CampaignSettingsDto"
        }
      ]
    },
    "scheduledAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Запланированное время старта рассылки (ISO 8601)."
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Фактическое время начала рассылки (ISO 8601)."
    },
    "finishedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Время завершения рассылки (ISO 8601)."
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Время создания рассылки (ISO 8601)."
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Время последнего обновления рассылки (ISO 8601)."
    },
    "stats": {
      "description": "Статистика рассылки. Присутствует только при withStats=true. Внимание: для завершённой A/B-рассылки в списке это поле содержит агрегат по семье, а в get-by-id — собственные цифры базовой рассылки.",
      "allOf": [
        {
          "$ref": "#/$defs/CampaignStatsDto"
        }
      ]
    }
  },
  "required": [
    "id",
    "name",
    "type",
    "status",
    "statusModerate",
    "isArchived",
    "dashboardUrl",
    "attachments",
    "lists",
    "settings"
  ],
  "$defs": {
    "CampaignAttachmentDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Идентификатор вложения."
        },
        "fileName": {
          "type": "string",
          "description": "Имя файла вложения."
        },
        "size": {
          "type": "integer",
          "description": "Размер файла в байтах."
        }
      },
      "required": [
        "id",
        "fileName",
        "size"
      ]
    },
    "CampaignListReferenceDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "ID списка контактов."
        },
        "name": {
          "type": "string",
          "description": "Название списка контактов."
        }
      },
      "required": [
        "id",
        "name"
      ]
    },
    "CampaignSettingsDto": {
      "type": "object",
      "properties": {
        "linkWrappingDisabled": {
          "type": "boolean",
          "description": "Ссылки в письме не оборачиваются: клики не учитываются в статистике."
        },
        "trackingPixelDisabled": {
          "type": "boolean",
          "description": "В письмо не добавляется трекинговый пиксель: открытия не учитываются в статистике."
        }
      },
      "required": [
        "linkWrappingDisabled",
        "trackingPixelDisabled"
      ]
    },
    "CampaignStatMetricDto": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "description": "Абсолютное количество."
        },
        "rate": {
          "type": "number",
          "description": "Доля от 0 до 1, например 0.9 — 90%. Отправка, доставка и ошибки — от всех получателей; открытия, отписки и жалобы — от доставленных; клики — от открытий."
        }
      },
      "required": [
        "count",
        "rate"
      ]
    },
    "CampaignStatsDto": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer",
          "description": "Общее количество адресов в рассылке."
        },
        "sending": {
          "description": "Отправлено: абсолютное количество и процент.",
          "allOf": [
            {
              "$ref": "#/$defs/CampaignStatMetricDto"
            }
          ]
        },
        "delivered": {
          "description": "Доставлено: абсолютное количество и процент.",
          "allOf": [
            {
              "$ref": "#/$defs/CampaignStatMetricDto"
            }
          ]
        },
        "open": {
          "description": "Открытия: абсолютное количество и процент.",
          "allOf": [
            {
              "$ref": "#/$defs/CampaignStatMetricDto"
            }
          ]
        },
        "click": {
          "description": "Клики: абсолютное количество и процент.",
          "allOf": [
            {
              "$ref": "#/$defs/CampaignStatMetricDto"
            }
          ]
        },
        "error": {
          "description": "Ошибки отправки: абсолютное количество и процент.",
          "allOf": [
            {
              "$ref": "#/$defs/CampaignStatMetricDto"
            }
          ]
        },
        "unsubscribe": {
          "description": "Отписки: абсолютное количество и процент.",
          "allOf": [
            {
              "$ref": "#/$defs/CampaignStatMetricDto"
            }
          ]
        },
        "complaint": {
          "description": "Жалобы: абсолютное количество и процент.",
          "allOf": [
            {
              "$ref": "#/$defs/CampaignStatMetricDto"
            }
          ]
        }
      },
      "required": [
        "total",
        "sending",
        "delivered",
        "open",
        "click",
        "error",
        "unsubscribe",
        "complaint"
      ]
    },
    "CampaignUtmDto": {
      "type": "object",
      "properties": {
        "utm_source": {
          "type": "string",
          "maxLength": 255,
          "description": "Query-параметр utm_source, добавляемый ко всем ссылкам письма (источник трафика, например «newsletter»)."
        },
        "utm_medium": {
          "type": "string",
          "maxLength": 255,
          "description": "Query-параметр utm_medium, добавляемый ко всем ссылкам письма (канал трафика, например «email»)."
        },
        "utm_campaign": {
          "type": "string",
          "maxLength": 255,
          "description": "Query-параметр utm_campaign, добавляемый ко всем ссылкам письма (идентификатор кампании)."
        }
      }
    }
  }
}

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/rusender-ru-campaign-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.