This endpoint will subscribe an email address to the given email list in Rejoiner.

📘

This will also identify the current session with the given email address.

Param Name

Required

Type

Notes

email

Yes

String

Email address to add to the list and attach to the current session

list_id

Yes

String

The ID of the list to add the customer to

first_name

No

String

The first name of the customer

📘

Any additional fields will be treated as strings and stored in the custom_fields of the list contact.

_rejoiner.push(['subscribeToList', {
  'email': '[email protected]',
  'list_id': 'foobar',
  'first_name': 'Name',
}]);