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, 5 years ago

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

Phil Phil, 5 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 :)

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098