mailerlite-api-v2-php-sdk icon indicating copy to clipboard operation
mailerlite-api-v2-php-sdk copied to clipboard

Campaigns GET endpoint not found

Open Jeroenhulshof opened this issue 2 years ago • 5 comments

When i want to fetch all campaigns through the API, i get the endpoint not found error.

    public function __construct()
    {
        $this->instance = new \MailerLiteApi\MailerLite('credentials');
    }

    public function getCampaigns()
    {
        $response = $this->instance->campaigns()->get();
    }

Jeroenhulshof avatar Sep 07 '22 11:09 Jeroenhulshof

@Jeroenhulshof - any luck there?

ranaroussi avatar Sep 19 '22 20:09 ranaroussi

@ranaroussi nope. Not yet

Jeroenhulshof avatar Sep 19 '22 21:09 Jeroenhulshof

Just got this from their support:

The reason behind this, is that campaign endpoints don't work yet for the new app.

Our developers are working on implementing it, so in the nearest future, those endpoints will be working with the new API.

☹️

ranaroussi avatar Sep 20 '22 06:09 ranaroussi

Very nice! I'll be waiting :) thanks for your reply @ranaroussi

Jeroenhulshof avatar Sep 20 '22 06:09 Jeroenhulshof

I got the same error. If there is a hope it to be fixed? I lee last updates on the project were 2 years ago ...

sergeynilov avatar Sep 28 '22 11:09 sergeynilov

any updates on this?

SaijoGeorge avatar Feb 06 '23 06:02 SaijoGeorge

Sorry, this fell through the cracks. This was implemented back in April.

johnkelesidis avatar Nov 10 '23 16:11 johnkelesidis