---
title: "Send Test Email"
method: POST
path: "/v3/portals/{portalId}/email-templates/{templateName}/send-test-email"
tags: ["Portal Emails"]
---

# Send Test Email

`POST /v3/portals/{portalId}/email-templates/{templateName}/send-test-email`

Send a test email based on the portal's email template, using the content provided in the request.
The email will be sent to the Konnect user who triggered the test.

## Path parameters

- `portalId` string, uuid, required
- `templateName` 'confirm-email-address' | 'app-registration-approved' | 'app-registration-rejected' | 'app-registration-revoked' | 'reset-password' | 'account-access-approved' | 'account-access-rejected' | 'account-access-revoked' | 'api-key-expiring-soon' | 'api-key-expired' | 'developer-invitation', required — Short name email template name.

## Request body

- object
  - `content` SendTestEmailTemplateContent, required
    - `subject` string, required
    - `title` string, required
    - `body` string, required
    - `button_label` string

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/revisions/b31b9b097e6d/schema)
