---
schema_version: "1"
id: 08247dbdc923d37256e0ffca78c269dcfcd80e3cd8c612bc330250ee5a4af106
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_subscriberAdd.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_subscriberAdd.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3d52301549fcb9675cb61210fcb6a962ee009d29f636154bb771bc371cb81f1b
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Add

## Overview

Adds a new subscriber to your list and returns a status

### Syntax

Add(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                                   |
| ------- | ------ | ------------ | ------------------------------------------------------------- |
| **1**   | object | **Required** | JSON object representing the properties of the new subscriber |

## Example

This sample code adds a subscriber to the specified list:

```
var newSubscriber = {
    "EmailAddress": "test.008@example.com",
    "SubscriberKey": "20100730001",
    "EmailTypePreference": "Text",
    "Attributes":{"First Name": "test.008", "Last Name": "test.008" },
    "Lists": {"Status": "Active", "ID": 12345, "Action": "Create"}
};

var status = Subscriber.Add(newSubscriber);
```
