{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/securessmtp-com/json-schema/securessmtp-com-post-forms-submit-request-schema.json",
  "title": "PostFormsSubmitRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/securessmtp-com-openapi-generated.yml#/components/schemas/PostFormsSubmitRequest",
  "type": "object",
  "properties": {
    "form_id": {
      "type": "integer",
      "description": "A positive whole number that names the form on your side. Use a different number for each form."
    },
    "form_name": {
      "type": "string",
      "description": "Up to 200 characters. Used in the notification subject."
    },
    "fields": {
      "type": "object",
      "description": "Field key to value. Every value must be a string of up to 10,000 characters."
    },
    "notify_emails": {
      "type": "array",
      "description": "Who gets the notification. Up to 10 entries; the first 3 valid addresses are used."
    },
    "notify_email": {
      "type": "string",
      "description": "A single recipient. Older form of notify_emails."
    },
    "from_name": {
      "type": "string",
      "description": "Sender name of the notification, up to 120 characters."
    },
    "visitor": {
      "type": "object",
      "description": "Visitor information."
    },
    "visitor.ip": {
      "type": "string",
      "description": "IP address (up to 64 characters)."
    },
    "visitor.user_agent": {
      "type": "string",
      "description": "User‑agent string (up to 500 characters)."
    },
    "visitor.referrer": {
      "type": "string",
      "description": "Referrer URL (up to 500 characters)."
    },
    "captcha_token": {
      "type": "string",
      "description": "The captcha token from the visitor’s browser, up to 6,000 characters."
    },
    "captcha_provider": {
      "type": "string",
      "description": "Which widget you showed."
    },
    "confirm": {
      "type": "object",
      "description": "Auto‑reply to the visitor."
    },
    "confirm.enabled": {
      "type": "boolean",
      "description": "Enable auto‑reply."
    },
    "confirm.subject": {
      "type": "string",
      "description": "Subject (up to 200 characters)."
    },
    "confirm.body": {
      "type": "string",
      "description": "HTML body (up to 20,000 characters)."
    },
    "confirm.from_name": {
      "type": "string",
      "description": "From name for auto‑reply."
    },
    "site_url": {
      "type": "string",
      "description": "Full URL of the page where the form was submitted."
    },
    "template": {
      "type": "string",
      "description": "Label of up to 50 characters, stored with the submission."
    }
  },
  "required": [
    "form_id"
  ]
}