How do i get client api-key?

       I have site url, username and password of client.
      // get api key
       $result_client = $cm->userGetApiKey($site_url,$username,$userpassword); 
  The above function returns parse api-key. But i want real client api-key.
Please help me how do i get real client api-key? Send me reply in function only.

Thanks in advance.

roshodgekiss roshodgekiss, 4 years ago

Hi there cyber123, in order to get the Client API key, you'll need to get the Client ID first.

The Client ID is available via this method. You an then use the returned Client ID to return the client's API key.

I hope that makes sense, but please let us know if there's anything we can clarify here. Best of luck!

Get in touch with us on Twitter:
We're also on Facebook:
Phil Phil, 4 years ago

Hi again cyber123,

I would advise that you use the php library written by us, here:

The code includes a lot of samples, all accessible in the github repository, including one for obtaining the apikey:

Hope that helps,

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