Create a Subscriber
Automate the addition of subscribers to a list in your Marketing Cloud Engagement account. For example, use API calls to add subscribers from information gathered from your corporate website.
The Subscriber object is connected to the classic list-based subscriber model. We recommend that you use Contact Builder or Data Extensions to manage customer data instead of using this object.
To create customers in Contact Builder, use the Contacts endpoints in the REST API. To add rows to data extensions, use the DataExtensions (asynchronous) or DataEvents (synchronous) endpoints in REST API.
Use this code example to create a subscriber and add it to a list.