get_schedule missing campaignmonitor-createsend-php-1.0.12-3-gc1ade43

I downloaded the most recent PHP api specifically to access the get_scheduled()...
I downloaded this version of the API samples:
I Downloaded it on 20/12/2011

But it seems like the method is undefined/missing...

Error message---> Call to undefined method CS_REST_Clients::get_scheduled()

Anyone else is also getting that error ?

tobyb tobyb, 5 years ago

Hi marcel,

The method is definitely defined in that version. Are you able to post the code your using the call this method (obscuring any API keys/emails etc).


marcel, 5 years ago

This is the code I am using...

//$result = $wrap->get_campaigns();   //  <----this works
//$result = $wrap->get_drafts();    //  <----this works
$result = $wrap->get_scheduled();   //  <---- Not working

echo "Result of /api/v3/clients/{id}/scheduled\n<br />";
if($result->was_successful()) {
    echo "Got scheduled campaigns\n<br /><pre>";
} else {
    echo 'Failed with code '.$result->http_status_code."\n<br /><pre>";
echo '</pre>';
marcel, 5 years ago

I used this sample: creatsend\samples\client\get_scheduled.php

tobyb tobyb, 5 years ago

Hi marcel,

That's very strange, I've checked the 1.0.12 tag and the get_scheduled method is definitely available. Can you try downloading the 1.0.12 version again (or grabbing the latest version) from the repo here. If your still getting the same problem could you get in touch with support at Please include your API key and the file.


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