AhaSend · Schema

Message

Message schema from AhaSend API

EmailTransactional EmailDeveloper ToolsSMTPWebhooks
View JSON Schema on GitHub

JSON Schema

openapi-v2-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/json-schema/openapi-v2-message-schema.json",
  "title": "Message",
  "description": "Message schema from AhaSend API",
  "allOf": [
    {
      "$ref": "#/components/schemas/MessageSummary"
    },
    {
      "type": "object",
      "properties": {
        "content": {
          "type": "string",
          "nullable": true,
          "description": "Original, raw email content (RFC822 format) - may be null if the message content is not available."
        },
        "content_parsed": {
          "$ref": "#/components/schemas/MessageContentParsed",
          "description": "Parsed and structured message content including parts, attachments, and headers - may be null if the message content is not available."
        }
      }
    }
  ]
}