Toggle menu

templateById

Description

Gets the details of a template by ID.

Parameters

NameTypeDescription
templateIdString, requiredThe ID of the template to retrieve
apiKeyNameString, optionalSpecify 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", "templateById", {    
        "templateId": "0000-0000-0000-0000"
    });  
    return result;
}

Last modified on August 01, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon