Description
Gets the details of all of the templates. Can be filtered by templateType.
Parameters
Name | Type | Description |
---|---|---|
templateType | String, optional | A template type 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", "allTemplates", {
"templateType": "email"
});
return result;
}
Last modified on August 01, 2023