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.
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.