AhaSend · Schema
CreateMessageRequest
CreateMessageRequest schema from AhaSend API
EmailTransactional EmailDeveloper ToolsSMTPWebhooks
Properties
| Name | Type | Description |
|---|---|---|
| from | object | |
| recipients | array | This does not set the To header to multiple addresses, it sends a separate message for each recipient |
| reply_to | object | If provided, the reply-to header in headers array must not be provided |
| subject | string | Email subject line |
| text_content | string | Plain text content. Required if html_content is empty |
| html_content | string | HTML content. Required if text_content is empty |
| amp_content | string | AMP HTML content |
| attachments | array | File attachments |
| headers | object | Custom email headers. reply-to header cannot be provided if reply_to is provided, message-id will be ignored and automatically generated |
| substitutions | object | Global substitutions, recipient substitutions override global |
| tags | array | Tags for categorizing messages |
| sandbox | boolean | If true, the message will be sent to the sandbox environment |
| sandbox_result | string | The result of the sandbox send |
| tracking | object | Tracking settings for the message, overrides default account settings |
| retention | object | Retention settings for the message, overrides default account settings |
| schedule | object | Schedule for message delivery |