# Send Single email

## Send email to users

<mark style="color:green;">`POST`</mark> [/external/v1/transactional-email/send](https://api.cuoral.com/xxxxdocs#/Transactional%20Email%20\(External\)/send_transactional_email_external_v1_transactional_email_send_post)<br>

Send Transactional Email\
\
Use this endpoint to send OTPs, password resets, welcome emails, order confirmations, notifications, and other transactional messages from your application.

**Headers**

| Name                | Value              |
| ------------------- | ------------------ |
| Content-Type        | `application/json` |
| X-Transactional-Key | cte\_xxxxxxxxxxxx  |

**Body**

| Name          | Type   | Description                 |
| ------------- | ------ | --------------------------- |
| to\_email     | string | email                       |
| subject       | string | email subject               |
| html\_content | string |                             |
| email\_type   | string | e.g otp                     |
| merge\_data   | string | e.g {"otp\_code": "482910"} |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "to_email": "user@example.com",
  "subject": "string",
  "html_content": "string",
  "text_content": "string",
  "template_uid": "string",
  "to_name": "string",
  "cc": [
    "user@example.com"
  ],
  "bcc": [
    "user@example.com"
  ],
  "from_email": "user@example.com",
  "from_name": "string",
  "reply_to": "user@example.com",
  "email_type": "custom",
  "category": "string",
  "merge_data": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "extra_metadata": {
    "additionalProp1": {}
  }
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
