Use the following function:
APIWrapperInterface::subscribeNewsletter($email)
To subscribe to a newsletter, call this function with an email address.
If this content did not answer your questions, try searching or contacting our support team for further assistance.