POST /v1/email/send
{
"to": [
"[email protected]"
],
"subject": "Order #1001 confirmed",
"html": "<h1>Thanks for your order</h1>",
"text": "Thanks for your order",
"from_name": "My Shop",
"reply_to": "[email protected]"
}
➡️ Always send html and text; replies go to reply_to
示例 2
Send an email OTP
场景: A new sign-up must confirm their email
请求
POST /v1/email/otp/send
{
"to": "[email protected]",
"brand": "My Shop",
"lang": "th",
"length": 6,
"ttl_seconds": 300
}