List Template
Path Parameters
idstringRequired
import Reloop from 'reloop-email';
const reloop = new Reloop("rl_123456789");
const versions = await reloop.template.listVersions("tpl_123456789", { page: 1, limit: 10 });[
{
"id": "con_123456789",
"templateId": "example_templateId",
"version": 0,
"name": "Newsletter",
"isMajor": true,
"subject": "Welcome to Reloop",
"fromEmail": "example_fromEmail",
"replyTo": "example_replyTo",
"previewText": "example_previewText",
"description": "example_description",
"content": [],
"variables": [
{
"name": "Newsletter",
"type": "string",
"defaultValue": null
}
],
"renderedHtml": "example_renderedHtml",
"createdByUserId": "example_createdByUserId",
"createdBy": {
"id": "con_123456789",
"name": "Newsletter",
"email": "john.doe@example.com",
"image": "example_image"
},
"createdAt": "2026-03-23T10:00:00.000Z"
}
]Was this page helpful?