---
schema_version: "1"
id: 91f150eae1b4d2c71422eac944f2dc91ec2225b9eb900132e12f40eb9fd72261
title: Subscribers.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_listSubscribersAdd.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_listSubscribersAdd.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6c5e07c21ab75b12c74639ccddc31598ce70f752dea18dc17bbfd3094a406f68
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Subscribers.Add

## Overview

Allows you to add a subscriber to a list

### Syntax

Subscribers.Add(1, 2)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                      |
| ------- | ------ | ------------ | -------------------------------- |
| **1**   | string | **Required** | Subscriber email address         |
| **2**   | string | **Required** | Additional subscriber attributes |

## Example

This sample code adds the subscriber and that subscriber's first and last names.

```
var myList = List.Init("myList");
var status = myList.Subscribers.Add("aruiz@example.com",{FirstName:"Angel",LastName:"Ruiz"});
```
