Add

Overview

Adds a triggered send to your account and returns an initialized object if successful

Syntax

Add(1)

Function Properties

Ordinal Type Description
1 string Required Properties of the new triggered send

Example

This sample code adds a triggered send to your account:

var newTSD = {
   "Name" : "Test TSD",
   "CustomerKey" : "ssjs_tsd_key",
   "FromName" : "Test From Name",
   "FromAddress" : "me@example.com",
   "EmailID" : 12345,
   "SendClassificationID" : 54321
};
var tsd = TriggeredSend.Add(newTSD);
Last Updated: Jun 8, 2021