API Key v2 / v3

I am just starting with the API, through coldfusion.  There is a wrapper available for api v2, but the api key I am being issued does not work.  It simply says the key is invalid.

Is there a different key for v2 than v3 of the api?

JonJoyce, 5 years ago

Is that the wrapper i created? Wrapper for V3 api will be available in the next week or so.


Jonathon Joyce

http://www.jonathonjoyce.co.uk/projects/campaign-monitor-cfc/
http://campaignmonitorcfc.riaforge.org/
tobyb tobyb, 5 years ago

Hey vision,

Welcome to the forums. The API Key you've been issued will work for both the v2 and v3 API. The 'Getting Started' documentation has more information about where to find the key if you want to double check your using the correct value.

vision, 5 years ago

Yep, I was going to be using the wrapper Jonathan has produced for version 2.

The problem is not the wrapper though, I can't even get something like this to work from the browser:

https://api.createsend.com/api/api.asmx/User.GetClients?ApiKey=blablablablablablablablablablalb

It returns an XML document stating code 100 - invalid API key.

I'm taking the key from the tab called Client Settings, maybe I'm getting the wrong key.  I will keep looking for another key...

vision, 5 years ago

Sure enough, wrong key.  The key I was using was the client API key, not the API key for the account.  I'll get there ... ;-)

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098