> For the complete documentation index, see [llms.txt](https://api.koreroplatforms.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.koreroplatforms.io/channel-api/email-apis/send-email-api.md).

# Send Email API

## Send Email API

<mark style="color:green;">`POST`</mark> `http://api.koreroplatforms.com/omni-email-api/sendEmail`

This API is used to send e-mail notifications to the given list of customer e-mail addresses.\
\
Pre-requisite:\
1\. Your domain needs to be verified and configured so make sure to add the DNS record in the DNS settings of your domain. The DNS records will be provided by your Korero touchpoint.\
2\. Submit the sender address for approval.\
3\. Make sure to encode your email content with Base64 encoding before passing the value.<br>

#### Request Body

| Name    | Type   | Description                                                                                                                                                                                                                                                                                      |
| ------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| request | string | <p>{<br> "userId": "your\_username", <br>"password": "your\_password", <br>"sender": "<sender@your-domain.com>", <br>"senderName": "Sender Name", <br>"reciever": "<recipient@recipient-domain.com>", <br>"subject": "TEST  Email from Korero", <br>"emailContent": "QWthc2ggcGFuZGF5" <br>}</p> |

{% tabs %}
{% tab title="200 Success Message." %}

```
{
    "message": "Success"
}
```

{% endtab %}

{% tab title="404 Failure Message" %}

```
{
    "message": "unauthorised user"
}
```

{% endtab %}
{% endtabs %}
