web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
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!

I have the same question (0)
  • Suggested answer
    Gaju G Profile Picture
    on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 57 Super User 2025 Season 2

#2
Satyam Prakash Profile Picture

Satyam Prakash 24

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 24

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans