# Send test e-mail

`POST https://api.tentary.com/v1/email/test`

Source: https://tentary.com/de/help/api/send-test-email/
Area: E-Mails
MCP tool: `send_test_email`. Changes data at once.

---

Sends the saved campaign or automation email as a test to the login email address of the account owner, like the "Send test" button in the app. Nobody else gets it.

- Only `%FIRST_NAME%`, `%FULL_NAME%` and `%EMAIL%` are filled, with the data of the account owner.
- At most 10 per hour.

## Authorization

`Authorization: Bearer <API key>`

A personal API key (tnt_...). Create it in the Tentary app on the page AI & API.

## Request body

- `campaign_id` (integer): A campaign from list_email_campaigns. Give this or email_id. Limits: min 1.
- `email_id` (integer): An automation e-mail from get_email_automation. Limits: min 1.

## Response

- `sent_to` (string): The login e-mail address of the account owner.
- `warnings` (array of string): Things that the seller should know.
- `message` (string): What happened, in words for the seller.

## Example request

```bash
curl -X POST "https://api.tentary.com/v1/email/test" \
  -H "Authorization: Bearer $TENTARY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "campaign_id": 802
}'
```

## Example response

```json
{
  "sent_to": "lena@lenaberg-yoga.example",
  "warnings": [],
  "message": "Test e-mail sent to the account owner. Other placeholders (like %PRODUCT_TITLE%) stay as text in a test. It may take a minute to arrive; an address on a block list gets nothing."
}
```
