Postfleet · Schema

SendRequest

Email InfrastructureAI AgentsJSON ExtractionDeveloper Tools

Properties

Name Type Description
mailbox_id string Mailbox to send from. A mailbox-bound key must match this.
text string Plain-text body. Required even when html is set.
html string Optional HTML body sent with the text part. Not accepted on drafts or on mailboxes that require approval.
to object One address, or an array of up to 10. A string must be exactly one address (commas are rejected). Required unless replying.
subject string
reply_to_message_id string Reply in-thread to an existing message; resolves `to`/`subject`/thread from the original.
client_id string Idempotency key for duplicate protection. Must not start with `draft:` (reserved).
attachments array Optional files to attach. Each item is exactly one of base64 `content` or an HTTPS `url` (fetched at send time). Filename and content_type are optional. At most 20 files; 6 MB total inline, 30 MB tota
View JSON Schema on GitHub

JSON Schema

postfleet-ai-send-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postfleet-ai/json-schema/postfleet-ai-send-request-schema.json",
  "title": "SendRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postfleet-ai-openapi.json#/components/schemas/SendRequest",
  "type": "object",
  "properties": {
    "mailbox_id": {
      "type": "string",
      "minLength": 1,
      "description": "Mailbox to send from. A mailbox-bound key must match this."
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "description": "Plain-text body. Required even when html is set."
    },
    "html": {
      "description": "Optional HTML body sent with the text part. Not accepted on drafts or on mailboxes that require approval.",
      "type": "string",
      "maxLength": 100000
    },
    "to": {
      "description": "One address, or an array of up to 10. A string must be exactly one address (commas are rejected). Required unless replying.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "minItems": 1,
          "maxItems": 10,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        }
      ]
    },
    "subject": {
      "type": "string"
    },
    "reply_to_message_id": {
      "description": "Reply in-thread to an existing message; resolves `to`/`subject`/thread from the original.",
      "type": "string"
    },
    "client_id": {
      "description": "Idempotency key for duplicate protection. Must not start with `draft:` (reserved).",
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "pattern": "^(?!draft:)"
    },
    "attachments": {
      "description": "Optional files to attach. Each item is exactly one of base64 `content` or an HTTPS `url` (fetched at send time). Filename and content_type are optional. At most 20 files; 6 MB total inline, 30 MB total URL-backed. Bytes are not echoed on draft reads.",
      "maxItems": 20,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "filename": {
                "description": "Basename only — no path separators. Derived from the URL path, or `attachment`, when omitted.",
                "type": "string",
                "minLength": 1,
                "maxLength": 255,
                "pattern": "^[^/\\0\\\\]+$"
              },
              "content": {
                "type": "string",
                "minLength": 1,
                "description": "File bytes, standard base64."
              },
              "content_type": {
                "description": "MIME type. Defaults to application/octet-stream, or the URL response Content-Type.",
                "type": "string",
                "maxLength": 127,
                "pattern": "^[a-zA-Z0-9][a-zA-Z0-9!#$&^_.+-]*\\/[a-zA-Z0-9][a-zA-Z0-9!#$&^_.+-]*$"
              }
            },
            "required": [
              "content"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "filename": {
                "description": "Basename only — no path separators. Derived from the URL path, or `attachment`, when omitted.",
                "type": "string",
                "minLength": 1,
                "maxLength": 255,
                "pattern": "^[^/\\0\\\\]+$"
              },
              "url": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2048,
                "description": "HTTPS URL fetched at send time. Not forwarded to the provider."
              },
              "content_type": {
                "description": "MIME type. Defaults to application/octet-stream, or the URL response Content-Type.",
                "type": "string",
                "maxLength": 127,
                "pattern": "^[a-zA-Z0-9][a-zA-Z0-9!#$&^_.+-]*\\/[a-zA-Z0-9][a-zA-Z0-9!#$&^_.+-]*$"
              }
            },
            "required": [
              "url"
            ],
            "additionalProperties": false
          }
        ]
      }
    }
  },
  "required": [
    "mailbox_id",
    "text"
  ],
  "additionalProperties": false
}

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/postfleet-ai-send-request"
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.