---
title: "Send a one-off test using the current draft"
method: POST
path: "/templates/{id}/test-send"
tags: ["Templates"]
---

# Send a one-off test using the current draft

`POST /templates/{id}/test-send`

## Request

- Base URL: `https://api.groundmail.dev`
- URL: `https://api.groundmail.dev/templates/{id}/test-send`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `to` string, required
  - `from` string, required
  - `variables` object

## Response `200`

Test email accepted

## Other responses

- `400`: Invalid request
- `404`: Template not found

---

[API](https://skmtc.dev/groundmail/apis/groundmail-api.md) · [All operations](https://skmtc.dev/groundmail/apis/groundmail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/groundmail/apis/groundmail-api/revisions/479821c9fecf?raw)
