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 NameRequiredTypeNotes
emailYesStringEmail address to add to the list and attach to the current session
list_idYesStringThe ID of the list to add the customer to
first_nameNoStringThe first name of the customer
last_nameNoStringThe last name of the customer
birthdateNoStringMust match format YYYY-MM-DD

📘

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',
}]);