Get a template (latest version)
GET
https://emails.routeon.io/api/v1/templates/{id}
Parameters
id
string<uuid>
required
path
Responses
200
OK
404
Resource not found within tenant scope
Example response · 200
{
"status": "success",
"http_code": 0,
"payload": {
"id": "00000000-0000-0000-0000-000000000000",
"tenant_id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"current_version": 0,
"status": "draft",
"strict_variables": true,
"message_class": "marketing",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
},
"meta": []
}
Example response · 404
{
"status": "error",
"http_code": 0,
"payload": [],
"meta": {
"reason": "VALIDATION_ERROR",
"validation_error": [
{
"field": "string",
"message": "string"
}
],
"details": []
}
}