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

๐Ÿ“˜

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