---
title: "Send Test Email Endpoint"
method: POST
path: "/api/test-email"
---

# Send Test Email Endpoint

`POST /api/test-email`

## Request

- Base URL: `https://backend.praktiki.io` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.praktiki.io/api/test-email`
- Auth: HTTP bearer

Send test email to specific users by email.
Does NOT log user communication (unlike regular emails).

Args:
    request (TestEmailRequest): Contains either scenario_id or collection_id, and list of user emails (max 5)

Returns:
    TestEmailResponse: Contains status and message

Raises:
    HTTPException: With appropriate status code for various error cases

## Request body

- TestEmailRequest
  - `scenario_id` string, nullable
  - `collection_id` string, nullable
  - `user_emails` string[], required

## Response `200`

Successful Response

- TestEmailResponse
  - `status` string, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/praktiki/apis/praktiki-api.md) - [All operations](https://skmtc.dev/praktiki/apis/praktiki-api/llms.txt) - [OpenAPI document](https://skmtc.dev/praktiki/apis/praktiki-api/revisions/3428f9e0a922?raw)
