Operations (sample payloads)

Main operations

Send email

Send an email to any address, for notifications or similar. Sample Input

{
    "to": [
        \{
            "email": "john.doe@example.com",
            "name": "John Doe"
        \},
        \{
            "email": "jane.smith@example.com",
            "name": "Jane Smith"
        \}
    ],
    "subject": "Important Meeting Reminder",
    "content": "<html><body><h1>Meeting Reminder</h1><p>Dear team,</p><p>This is a reminder that we have an important meeting scheduled for tomorrow at 2 PM. Please be prepared to discuss the quarterly results.</p><p>Best regards,<br>Your Manager</p></body></html>",
    "attachments": [
        \{
            "filename": "quarterly_report.pdf",
            "content": "base64encodedcontent..."
        \}
    ],
    "reply_to": \{
        "email": "manager@company.com",
        "name": "Team Manager"
    \},
    "cc": [
        \{
            "email": "hr@company.com",
            "name": "HR Department"
        \}
    ],
    "bcc": [
        \{
            "email": "ceo@company.com",
            "name": "CEO"
        \}
    ],
    "tls": true
}

Sample Output

\{
    "success": true,
    "warning": null
\}

Was this page helpful?