---
schema_version: "1"
id: 54c8610695fb89fe190c3efa81edb1377dedcd2de689259de8872fac4317748b
title: Add
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_sendAdd.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_sendAdd.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 43e241135c94f09a7337769e3770d6c04984fbc20451585b19ad404fd6827acd
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Add

## Overview

Adds a new send to your account and returns the status of the send's creation

### Syntax

Add(1, 2, 3)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                                                          |
| ------- | ------ | ------------ | ------------------------------------------------------------------------------------ |
| **1**   | string | **Required** | CustomerKey of email message to associate with send                                  |
| **2**   | array  | **Required** | Array of list IDs to associate with send                                             |
| **3**   | string | **Required** | Options to associate with the send, such as a different message subject or send time |

## Examples

This sample code adds a send to your account, which sends the specified email message to the provided lists:

```
var status = Send.Add("test_email", [ 12345, 12346 ]);
```

This sample code adds a send to your account, which sends the specified email message to the provided lists using the additional From name, From email address, and subject specified in the options variable:

```
var options = {
    FromName : "JSON Specified Name",
    FromAddress : "aruiz@example.com",
    Subject : "JSON Test Mail"
};

var status = Send.Add('test_email', [ 12345, 12346 ], options);
```
