Anjal · Schema

DraftInput

EmailArtificial IntelligenceAgentsSoftware-as-a-ServiceEmail API

Properties

Name Type Description
to object
cc object
bcc object
subject string
plainBody string
htmlBody string
replyToMessageId string
labels object
sendAt stringnull Schedule the send: ISO 8601 with an offset, e.g. `2026-10-01T09:00:00-04:00`. Must be in the future and at most 90 days ahead. A scheduled draft needs at least one recipient and a body. On update, `nu
View JSON Schema on GitHub

JSON Schema

anjal-app-draft-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anjal-app/json-schema/anjal-app-draft-input-schema.json",
  "title": "DraftInput",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anjal-app-openapi.yaml#/components/schemas/DraftInput",
  "type": "object",
  "properties": {
    "to": {
      "oneOf": [
        {
          "type": "string",
          "format": "email"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "format": "email"
          }
        }
      ]
    },
    "cc": {
      "oneOf": [
        {
          "type": "string",
          "format": "email"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "format": "email"
          }
        }
      ]
    },
    "bcc": {
      "oneOf": [
        {
          "type": "string",
          "format": "email"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "format": "email"
          }
        }
      ]
    },
    "subject": {
      "type": "string"
    },
    "plainBody": {
      "type": "string"
    },
    "htmlBody": {
      "type": "string"
    },
    "replyToMessageId": {
      "type": "string",
      "format": "uuid"
    },
    "labels": {
      "$ref": "#/$defs/Labels"
    },
    "sendAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Schedule the send: ISO 8601 with an offset, e.g.\n`2026-10-01T09:00:00-04:00`. Must be in the future and at most 90\ndays ahead. A scheduled draft needs at least one recipient and a\nbody. On update, `null` cancels the schedule. Anjal checks for due\ndrafts about every 20 seconds. If the send fails, the draft is\nkept, `sendError` is set, `sendAt` is cleared and\n`draft.send_failed` fires.\n"
    }
  },
  "$defs": {
    "Labels": {
      "description": "Labels as an array or a comma-separated string. Stored lowercase and\ndeduplicated; at most 32 labels of at most 64 characters, no commas.\n",
      "oneOf": [
        {
          "type": "array",
          "maxItems": 32,
          "items": {
            "type": "string",
            "maxLength": 64
          }
        },
        {
          "type": "string"
        }
      ]
    }
  }
}

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/anjal-app-draft-input"
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.