A subscribe is a recipient-triggered action. In Real Magnet, your options for subscribing recipients are outlined in this article: Unsubscribe Options.
Subscribes are either by category or group: Once an individual subscribes to a message, they're either opted into that category or group.
Subscribe a recipient to a message category:
|SessionID||String||This is an authentication token which can be obtained by making the authenticate call.|
|UserID||String||The UserID returned in the authenticate call.|
|ID||Int||The recipient ID of the person you want to subscribe.|
This flag can be set to either true or false.
You must POST at least one of the following parameters to determine the mailing type that your recipient will be subscribed to.
NOTE: If your unsubscribe setting is MESSAGE CATEGORY, you must include either the Category ID or BOTH conditional parameters.
|Category||Int||The message category ID which you want to subscribe the recipient to. To get a list of category IDs, see GetMessageCategory/ or GetGroupCategories/.|
|Group||Int||The group ID which you want to subscribe the recipient to. To get a list of the group IDs, see GetGroups/.|
Unsubscribe from All
If a recipient has previously unsubscribed from all, the subscribe call will need to also set RemoveAllUnsubscribes to True in order for that recipient to begin receiving messages again. However, this flag can remain unchanged if you would like to continue to log subscribes and unsubscribes. This would leave the recipient unsubscribed, and unavailable to send to.
John Doe has selected the Unsubscribe from All link in a message. This has changed the flag in his record.
He had also previously unsubscribed from Categories A, B, and C. A user of the Real Magnet account has decided that they would like to re-subscribe this recipient to Category A. However, they would also like for the individual to remain opted out of the prior categories and to remain unsubscribed from all. Creating the API call, the recipient is subscribed to the A category and the RemoveAllUnsubscribes parameter is set to False.
The result will have a recipient that is unsubscribed to Categories B and C, and that is still unsubscribed from all.