v1
latestOpenAPI 3.0.02026-07-2491237338.9 KBEmails
Send an email
Sends an outbound email message.
post/emails
Request body
Example request
{
"from": "SupportTeam<support@example.com>",
"to": "to1@example.com,Nick<to2@example.com>",
"content": "This is a test message from #nick#.",
"cc": "cc1@example.com,Nick<cc2@example.com>",
"bcc": "bcc1@example.com,Nick<bcc2@example.com>",
"summary": "This is a summary.",
"callbackUrl": "https://httpbin.org/anything?tag=api-email"
}Response
The request is successfully accepted.
Example response
{
"from": {
"name": "Support Team",
"address": "team@example.com"
},
"to": [
{
"name": "Support Team",
"address": "team@example.com"
}
],
"cc": [
{
"name": "Support Team",
"address": "team@example.com"
}
],
"bcc": [
{
"name": "Support Team",
"address": "team@example.com"
}
],
"replyTo": [
{
"name": "Support Team",
"address": "team@example.com"
}
],
"summary": "This is a summary.",
"callbackUrl": "https://httpbin.org/anything?tag=api-email",
"createTime": "2022-06-01T12:00:00.000Z",
"totalRecipients": 3,
"totalPrice": 0.0085,
"currency": "USD"
}