Test-send a template
POST
/v1/templates/{id}/test-sendSecret key — sk_… or sk_test_… · Base URL https://api.volanea.com
Sends the template to one address with sample variable data. The subject is prefixed with "[Test]".
Path parameters
idstringrequiredTemplate id.
Body
Required · application/json
toemailrequiredvariablesobject
Errors
Every failure returns the standard envelope — branch on `code`, never on the wording of `error`.
401Missing or invalid API key.404Not found.422Request validation failed (code `validation_error`, 422).
Request
curl https://api.volanea.com/v1/templates/id_123/test-send \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"to": "ada@example.com",
"variables": {}
}'Response
200 · application/json
{
"success": true,
"data": {
"id": "<id>",
"to": "ada@example.com",
"status": "sent"
}
}92 endpoints · OpenAPI document