Send Email
Sends a composed email with automatic routing. If configCode is provided, sends via that mailbox. If omitted, uses the tenant's default mailbox. If no mailboxes are configured, sends via the platform default using the tenant's ReplyTo settings.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| configCode | query string | |
Request Body*
{
"subject": "string",
"htmlBody": "string",
"plainTextBody": "string",
"to": [
{
"email": "...",
"name": "..."
}
],
"cc": [
{
"email": "...",
"name": "..."
}
]
}
Responses
200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found