{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/100hires-com/json-schema/100hires-com-scheduled-email-update-request-schema.json",
  "title": "ScheduledEmailUpdateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/100hires-com-messages-api-openapi.yml#/components/schemas/ScheduledEmailUpdateRequest",
  "type": "object",
  "required": [
    "to",
    "subject",
    "body"
  ],
  "properties": {
    "from_account_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Optional sending mail account ID. Use `GET /users/{user_id}/mail-accounts` to list available accounts for a user, or `GET /companies/mail-accounts` to list all accounts. If omitted, the API key owner's default mail account is used."
    },
    "to": {
      "type": "array",
      "description": "Primary recipient email addresses.",
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "cc": {
      "type": "array",
      "description": "Carbon-copy recipient email addresses.",
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "bcc": {
      "type": "array",
      "description": "Blind carbon-copy recipient email addresses.",
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "subject": {
      "type": "string",
      "description": "Updated email subject line."
    },
    "body": {
      "type": "string",
      "description": "Updated email body as HTML."
    },
    "scheduled_at": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Updated send time as a Unix timestamp in seconds."
    },
    "reply_to_email_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Optional mailbox message ID to reply to."
    },
    "send_in_new_thread": {
      "type": "boolean",
      "description": "Whether to send the updated message as a new thread."
    }
  },
  "additionalProperties": false
}