List Template
1import { Reloop } from "reloop-email";2
3const reloop = new Reloop({ apiKey: "rl_123456789" });4
5const versions = await reloop.template.listVersions("tpl_123456789", { page: 1, limit: 10 });1[2 {3 "id": "con_123456789",4 "templateId": "example_templateId",5 "version": 0,6 "name": "Newsletter",7 "isMajor": true,8 "subject": "Welcome to Reloop",9 "fromEmail": "example_fromEmail",10 "replyTo": "example_replyTo",11 "previewText": "example_previewText",12 "description": "example_description",13 "content": [],14 "variables": [15 {16 "name": "Newsletter",17 "type": "string",18 "defaultValue": null19 }20 ],21 "renderedHtml": "example_renderedHtml",22 "createdByUserId": "example_createdByUserId",23 "createdBy": {24 "id": "con_123456789",25 "name": "Newsletter",26 "email": "john.doe@example.com",27 "image": "example_image"28 },29 "createdAt": "2026-03-23T10:00:00.000Z"30 }31]Path Parameters
idstringRequired
Was this page helpful?
- Need help? Contact Support.
- Chat with Reloop developers on Discord.
- Check out our changelog.
- Questions? Contact Sales.
- LLM? Read llms.txt.