AhaSend · JSON Structure

Api Email Structure

Email schema from AhaSend API

Type: object Properties: 3 Required: 3
EmailTransactional EmailDeveloper ToolsSMTPWebhooks

Email is a JSON Structure definition published by AhaSend, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

from recipients content

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/json-structure/api-email-structure.json",
  "name": "Email",
  "description": "Email schema from AhaSend API",
  "type": "object",
  "properties": {
    "from": {
      "$ref": "#/components/schemas/Contact"
    },
    "recipients": {
      "type": "array",
      "description": "Specifies the list of recipients to which message will be sent.",
      "items": {
        "$ref": "#/components/schemas/Contact"
      },
      "example": [
        {
          "email": "user@example.com",
          "name": "Example Name"
        }
      ]
    },
    "content": {
      "$ref": "#/components/schemas/Content"
    }
  },
  "required": [
    "from",
    "recipients",
    "content"
  ]
}