Description
Gets the details of a specific version of a template by ID and version number.
Parameters
| Name | Type | Description |
|---|---|---|
| templateId | String, required | The ID of the template to retrieve |
| version | Number, required | The version of the template to retrieve |
| apiKeyName | String, optional | Specify the name of the API key you want to use. Names and keys are defined in the worker configuration. If not supplied the default will be used |
Example Request
function(params, credentials) {
let result = this.callWorkerMethod("govnotify", "templateByVersion", {
"templateId": "0000-0000-0000-0000",
"version": 2
});
return result;
}
Last modified on 1 August 2023
