# Technical Overview

See the [complete API reference](https://docs.encharge.io/transactional-email-api/reference). Alternatively, check the [API documentation](https://documenter.getpostman.com/view/460427/TVRj5o3E) in Postman.

The Transactional Email API:

* Accepts and outputs **JSON**.
* **Authenticates** using API key passed via the `token` query parameter or the `X-Encharge-Token` header. Get your API key from [your Account](https://app.encharge.io/account/info).
* Returns **202 Accepted** on success.
* Returns descriptive error messages with meaningful HTTP response codes. The response has the following format:

```javascript
{
    "error": {
        "message": "Missing email content. Please pass `template`, `html` or `text`",
        "markdown": "<p>Missing email content. Please pass <code>template</code>, <code>html</code> or <code>text</code></p>\n",
        "traceId": "9751fe70-0957-11eb-a6b8-3baf67de29f8"
    }
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.encharge.io/transactional-email-api/technical-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
