RuSender · Schema

SendEmailDataDto

Email MarketingRussianSoftware-as-a-ServiceMarketing Automation

Properties

Name Type Description
from object Отправитель. Адрес должен быть в домене ключа отправки.
to array Основные получатели: объект или массив. Всего в to, cc и bcc — до 50.
cc array Копии.
bcc array Скрытые копии.
replyTo array Адреса Reply-To: объект или массив, до 5.
subject string Тема; переменные подставляются.
previewText string Текст превью в почтовых клиентах; переменные подставляются.
html string HTML-версия. Взаимоисключается с шаблоном.
text string Текстовая версия. Взаимоисключается с шаблоном.
templateId integer ID шаблона вместо html/text.
templateAlias string Алиас шаблона вместо html/text.
variables object Переменные для плейсхолдеров {{name}} в содержимом, теме и превью.
headers object Дополнительные заголовки. Системные (Message-ID, From, To, Reply-To, List-Unsubscribe и др.) запрещены.
attachments array Вложения: до 20 файлов, до 15 МБ суммарно.
keyId integer ID ключа отправки. Без него — ключ по умолчанию домена from.
View JSON Schema on GitHub

JSON Schema

rusender-ru-send-email-data-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rusender-ru/json-schema/rusender-ru-send-email-data-dto-schema.json",
  "title": "SendEmailDataDto",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rusender-ru-openapi.json#/components/schemas/SendEmailDataDto",
  "type": "object",
  "properties": {
    "from": {
      "description": "Отправитель. Адрес должен быть в домене ключа отправки.",
      "allOf": [
        {
          "$ref": "#/$defs/EmailContactDto"
        }
      ]
    },
    "to": {
      "maxItems": 50,
      "description": "Основные получатели: объект или массив. Всего в to, cc и bcc — до 50.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailContactDto"
      }
    },
    "cc": {
      "description": "Копии.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailContactDto"
      }
    },
    "bcc": {
      "description": "Скрытые копии.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailContactDto"
      }
    },
    "replyTo": {
      "maxItems": 5,
      "description": "Адреса Reply-To: объект или массив, до 5.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailContactDto"
      }
    },
    "subject": {
      "type": "string",
      "maxLength": 255,
      "description": "Тема; переменные подставляются."
    },
    "previewText": {
      "type": "string",
      "maxLength": 255,
      "description": "Текст превью в почтовых клиентах; переменные подставляются."
    },
    "html": {
      "type": "string",
      "maxLength": 4500000,
      "description": "HTML-версия. Взаимоисключается с шаблоном."
    },
    "text": {
      "type": "string",
      "maxLength": 4500000,
      "description": "Текстовая версия. Взаимоисключается с шаблоном."
    },
    "templateId": {
      "type": "integer",
      "description": "ID шаблона вместо html/text."
    },
    "templateAlias": {
      "type": "string",
      "description": "Алиас шаблона вместо html/text."
    },
    "variables": {
      "type": "object",
      "additionalProperties": true,
      "description": "Переменные для плейсхолдеров {{name}} в содержимом, теме и превью."
    },
    "headers": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Дополнительные заголовки. Системные (Message-ID, From, To, Reply-To, List-Unsubscribe и др.) запрещены."
    },
    "attachments": {
      "maxItems": 20,
      "description": "Вложения: до 20 файлов, до 15 МБ суммарно.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailAttachmentDto"
      }
    },
    "keyId": {
      "type": "integer",
      "description": "ID ключа отправки. Без него — ключ по умолчанию домена from."
    }
  },
  "required": [
    "from",
    "to",
    "subject"
  ],
  "$defs": {
    "EmailAttachmentDto": {
      "type": "object",
      "properties": {
        "fileName": {
          "type": "string",
          "description": "Имя файла для содержимого в base64."
        },
        "content": {
          "type": "string",
          "format": "byte",
          "description": "Содержимое файла в base64."
        },
        "fileId": {
          "type": "integer",
          "description": "ID файла, загруженного через /v1/public/files (вместо fileName и content)."
        }
      }
    },
    "EmailContactDto": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "description": "Адрес."
        },
        "name": {
          "type": "string",
          "maxLength": 255,
          "description": "Отображаемое имя."
        }
      },
      "required": [
        "email"
      ]
    }
  }
}

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-send-email-data-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.