List template versions
GET
https://emails.routeon.io/api/v1/templates/{id}/versions
Parameters
id
string<uuid>
required
path
Responses
200
Versions
404
Resource not found within tenant scope
Example response · 200
{
"status": "success",
"http_code": 0,
"payload": [
{
"id": "00000000-0000-0000-0000-000000000000",
"template_id": "00000000-0000-0000-0000-000000000000",
"version": 0,
"format": "mjml",
"source": "string",
"document": {
"schema_version": 1,
"default_locale": "string",
"locales": [
null
],
"brand_kit_id": "00000000-0000-0000-0000-000000000000",
"subject": [],
"preheader": [],
"blocks": [
null
]
},
"default_locale": "string",
"subject": "string",
"preheader": "string",
"variables": [
"string"
],
"created_at": "2024-01-01T00:00:00Z",
"verify_status": "not_verified",
"verify_reason": "string",
"variable_specs": []
}
],
"meta": []
}
Example response · 404
{
"status": "error",
"http_code": 0,
"payload": [],
"meta": {
"reason": "VALIDATION_ERROR",
"validation_error": [
{
"field": "string",
"message": "string"
}
],
"details": []
}
}