Description
Subscribes a user to a group. With this call, the subscription is handled as a self subscription. Depending on the subscription mode used, the user may have to confirm the subscription (opt in) and may be notified of the successful subscription.
SubscriptionMode | Description |
---|---|
CONFIRMED_OPT_IN | New contacts receive a welcome message via email when they are added to the group. Despite the label used for this value, the contact does not need to confirm the subscription. A single opt-in subscription. |
DOUBLE_OPT_IN | New contacts receive an invitation to join the group via email. The contact must accept the invitation before they are added to the group. A double opt-in subscription. |
OPT_IN | New contacts are added to the group without notification. |
Available from |
---|
v2 |
Example request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ecm="http://ecircle.com/developer/ecmapi"> <soapenv:Header/> <soapenv:Body> <ecm:membershipSubscribe> <userId>3769713</userId> <groupId>385</groupId> <subscriptionMode>OPT_IN</subscriptionMode> </ecm:membershipSubscribe> </soapenv:Body> </soapenv:Envelope>