AhaSend · JSON Structure

Openapi V2 Recipient Structure

Recipient schema from AhaSend API

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

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

Properties

email name substitutions

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/openapi-v2-recipient-structure.json",
  "name": "Recipient",
  "description": "Recipient schema from AhaSend API",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "Recipient email address",
      "example": "user@example.com"
    },
    "name": {
      "type": "string",
      "description": "Display name for the recipient",
      "example": "Example Name"
    },
    "substitutions": {
      "type": "object",
      "additionalProperties": true,
      "description": "Substitution data for the recipient. Used with jinja2 templating language for dynamic content",
      "example": {}
    }
  },
  "required": [
    "email"
  ],
  "example": {
    "email": "user@example.com",
    "name": "John Doe",
    "substitutions": {
      "first_name": "John",
      "order_id": "12345"
    }
  }
}