# Templates

Emails you keep and reuse. A template has variables, and it is sent in the version you published.

## Methods

- [Create template](https://opensend.sh/docs/sdk/templates/create): `opensend.templates.create(input)`
- [Get template](https://opensend.sh/docs/sdk/templates/get): `opensend.templates.get(id)`
- [List templates](https://opensend.sh/docs/sdk/templates/list): `opensend.templates.list(input?)`
- [Update template](https://opensend.sh/docs/sdk/templates/update): `opensend.templates.update(id, input?)`
- [Edit template design](https://opensend.sh/docs/sdk/templates/edit): `opensend.templates.edit(id, input)`
- [Publish template](https://opensend.sh/docs/sdk/templates/publish): `opensend.templates.publish(id)`
- [Send test of template](https://opensend.sh/docs/sdk/templates/test): `opensend.templates.test(id, input)`
- [Render template design](https://opensend.sh/docs/sdk/templates/render): `opensend.templates.render(input)`
- [Duplicate template](https://opensend.sh/docs/sdk/templates/duplicate): `opensend.templates.duplicate(id, input?)`
- [List template versions](https://opensend.sh/docs/sdk/templates/versions): `opensend.templates.versions(id, input?)`
- [Get template version](https://opensend.sh/docs/sdk/templates/version): `opensend.templates.version(id, input)`
- [Restore template version](https://opensend.sh/docs/sdk/templates/restore): `opensend.templates.restore(id, input)`
- [Delete template](https://opensend.sh/docs/sdk/templates/remove): `opensend.templates.remove(id)`
- [List template starters](https://opensend.sh/docs/sdk/templates/starters): `opensend.templates.starters(input?)`
- [Get template starter](https://opensend.sh/docs/sdk/templates/starter): `opensend.templates.starter(id, input?)`
