PUT (POST) https://api.notificore.ru/email/send-emails
Parameter | Required | Type | Description |
to | Yes | array | A list of recipient email addresses. |
from | Yes | string | The sender's email address. |
subject | Yes | string | The subject line of the email. |
body | Yes | string | The plain-text content of the email body. |
htmlbody | Yes | string | The HTML-formatted content of the email body (can include rich text elements). |
inlines | No | array | A list of inline attachments. Each inline item includes the following fields: |
name | Yes | string | A variable representing the name or identifier of the inline attachment. |
cid | Yes | string | The content identifier (links the inline attachment to the email body). |
contentType | Yes | string | The content type (e.g., "image/png"). |
content | Yes | string | The base64-encoded content of the inline attachment. |
{
"to": [
"user@example.com"
],
"from": "user@example.com",
"subject": "string",
"body": "string",
"htmlbody": "string",
"inlines": [
{
"name": "string",
"cid": "string",
"contentType": "string",
"content": "string"
}
]
}
Parameter | Type | Description |
message_id | string | A unique identifier for the message sent. |
{
"message_id": "string"
}