agentisend-com · Schema

PatchBroadcastsBy_idBody

EmailTransactional EmailAI AgentsSoftware-as-a-Service

Properties

Name Type Description
content object Same as html, sent as {mode: "html", source}.
from_address string Same as from. A display name is allowed: "Acme Updates ".
name string
previewText string Resend Node SDK name for preview_text.
preview_text object The line an inbox shows after the subject. null clears it.
replyTo object Resend Node SDK name for reply_to.
reply_to object Reply-To on every message. null clears it.
scheduled_at object
segment_id string
subject string
text object The plain-text body. null clears it, so the send derives one; an empty string sends no plain-text part.
topicId string Resend Node SDK name for topic_id.
topic_id object A topic on this account whose opt-outs the send honours. null clears it.
View JSON Schema on GitHub

JSON Schema

agentisend-com-patch-broadcasts-by-id-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentisend-com/json-schema/agentisend-com-patch-broadcasts-by-id-body-schema.json",
  "title": "PatchBroadcastsBy_idBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentisend-com-broadcasts-api-openapi.yml#/components/schemas/PatchBroadcastsBy_idBody",
  "properties": {
    "content": {
      "anyOf": [
        {
          "properties": {
            "blocks": {
              "description": "Blocks, in order. At least one.",
              "items": {
                "anyOf": [
                  {
                    "properties": {
                      "body": {
                        "description": "The block text. Placeholders use {{name}}.",
                        "maxLength": 524288,
                        "type": "string"
                      },
                      "kind": {
                        "const": "text",
                        "description": "A text block.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "kind",
                      "body"
                    ],
                    "type": "object"
                  },
                  {
                    "properties": {
                      "html": {
                        "description": "HTML for this block.",
                        "maxLength": 524288,
                        "type": "string"
                      },
                      "kind": {
                        "const": "raw",
                        "description": "HTML inserted as written.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "kind",
                      "html"
                    ],
                    "type": "object"
                  }
                ]
              },
              "minItems": 1,
              "type": "array"
            },
            "mode": {
              "const": "block",
              "description": "block, markdown or html.",
              "type": "string"
            }
          },
          "required": [
            "mode",
            "blocks"
          ],
          "type": "object"
        },
        {
          "properties": {
            "mode": {
              "description": "markdown or html.",
              "enum": [
                "markdown",
                "html"
              ],
              "type": "string"
            },
            "source": {
              "description": "The template source. At most 512 KB when writing.",
              "maxLength": 524288,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "mode",
            "source"
          ],
          "type": "object"
        }
      ],
      "description": "Same as html, sent as {mode: \"html\", source}."
    },
    "from_address": {
      "description": "Same as from. A display name is allowed: \"Acme Updates <news@acme.com>\".",
      "maxLength": 320,
      "minLength": 3,
      "type": "string"
    },
    "name": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "previewText": {
      "description": "Resend Node SDK name for preview_text.",
      "maxLength": 500,
      "type": "string"
    },
    "preview_text": {
      "anyOf": [
        {
          "maxLength": 500,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The line an inbox shows after the subject. null clears it."
    },
    "replyTo": {
      "anyOf": [
        {
          "minLength": 1,
          "type": "string"
        },
        {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "Resend Node SDK name for reply_to."
    },
    "reply_to": {
      "anyOf": [
        {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "type": "array"
            }
          ],
          "description": "One address, or a list of them. At most 50 recipients across to, cc and bcc."
        },
        {
          "type": "null"
        }
      ],
      "description": "Reply-To on every message. null clears it."
    },
    "scheduled_at": {
      "anyOf": [
        {
          "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "segment_id": {
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "type": "string"
    },
    "subject": {
      "maxLength": 998,
      "minLength": 1,
      "type": "string"
    },
    "text": {
      "anyOf": [
        {
          "maxLength": 1000000,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The plain-text body. null clears it, so the send derives one; an empty string sends no plain-text part."
    },
    "topicId": {
      "description": "Resend Node SDK name for topic_id.",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "type": "string"
    },
    "topic_id": {
      "anyOf": [
        {
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "A topic on this account whose opt-outs the send honours. null clears it."
    }
  },
  "type": "object"
}

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/agentisend-com-patch-broadcasts-by-id-body"
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. See our Privacy Policy and Terms.

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