How to get all clients for a specific account using C#

I have tried to fetch all my clients through this code:
(IEnumerable<BasicClient>)createsend_dotnet.General.Clients();

I just want to list all my clients in a backend system.

This code returns error code 103, an empty API key.
I cant figure out where to put my api key in.

How can i list all my clients ? Should be the same list as "Your Clients" on the account startpage.

magnih, 6 years ago

Should be the same list as "Your Clients" on the account startpage.

Phil Phil, 6 years ago

G'day,

As the installation notes mention, you need to add an api_key element to your application config file. All api calls are made using that entry.

All the best :)

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free