Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

API Development on Subscription List (Marketing List Entity & List Members)

(0) ShareShare
ReportReport
Posted on by 55

Hi folks, 

hoping to get some Dev assistance or a contact in the right direction. Our Dynamics 365 Marketing Client (external website) wants members to update their marketing preferences behind their gated login. As you know, the embedded Subscription Centre form won't load unless you've previously submitted a form or land on the form via an Email. 

The client has requested to instead surface the available subscription lists (marketing list entity) via API which we're building (using .NET). So far we can successfully remove the member from a subscription list, however appending a member to a list is proving to be more challenging. 

Does anyone know of a Microsoft Dev engineer we can reach out to or has anyone attempted this before? 

Thank you!

  • Suggested answer
    Gaju G Profile Picture
    Gaju G on at
    RE: API Development on Subscription List (Marketing List Entity & List Members)

    Hello, 

    I've reached out to the dev team and below is a code snippet on how to add contacts to the list:

    var addListMembersListRequest = new AddListMembersListRequest
                        {
                            MemberIds = new[] { contactId },
                            ListId = listId
                        };
    
                        service.Execute(addListMembersListRequest);

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans