How to get access token ,refresh token , code variable

How to get access token ,refresh token , code variable . how to get all campaigns.
I am using campaign monitor PHP api . we need this urgent please help me.

teejay_hh, 3 years ago

no need for that. Just use the api key which you can find  in your client/account settings.
You can use the the api like this

new CS_REST_Segments(NULL, array('api_key' =>'api key here')); no access token or refresh token needed!! Hope this helps.

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