List template versions
GET
/v1/templates/{id}/versionsSecret key — sk_… or sk_test_… · Base URL https://api.volanea.com
Every stored version of one template, newest version first.
Each row is the full content as it stood — subject, body, from address — not a diff. This is the list to read a version number out of before calling POST /v1/templates/{id}/rollback.
Path parameters
idstringrequiredTemplate id.
Response
All snapshots, newest version first.
dataobject[]requiredtemplateIdstringrequiredversionintegerrequiredsubjectstringrequiredbodystringrequiredfromNamestring | nullfromEmailemailrequiredcreatedAtdate-timerequired
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/versions \
-H "Authorization: Bearer sk_..."Response
200 · application/json
{
"success": true,
"data": {
"data": [
{
"templateId": "tpl_9f2c",
"version": 1,
"subject": "Your order shipped",
"body": "<p>On its way, {{firstName}}.</p>",
"fromName": "Acme",
"fromEmail": "hello@yourdomain.com",
"createdAt": "2026-01-01T09:00:00.000Z"
}
]
}
}92 endpoints · OpenAPI document