Actions32
- Broadcast Actions
- Contact Actions
- Custom Event Actions
- List Actions
- Template Actions
- Transactional Actions
Template → Get
AI-generatedSummary
Retrieve a single notification template by its unique ID, optionally specifying a version to fetch a specific revision (defaults to the latest version if omitted).
Inputs
- Template ID (required) — The ID of the template to retrieve
- Version — Specific version number of the template to retrieve; if not provided, the latest version is returned
Output shape
a JSON object representing the requested template, including its content, metadata, and version information
If the version number is provided, that specific template version is returned; otherwise, the latest published version is fetched. The output contains all standard template fields as returned by the Notifuse API's /api/templates.get endpoint.
Examples
Example 1: Fetch latest version of a template by ID
Template ID: 'welcome_email' (required); Version: empty
Example 2: Fetch a specific version of a template
Template ID: 'welcome_email'; Version: 3