Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint not found error with the new MailerLite #71

Open
akosphp opened this issue Oct 10, 2022 · 1 comment
Open

Endpoint not found error with the new MailerLite #71

akosphp opened this issue Oct 10, 2022 · 1 comment

Comments

@akosphp
Copy link

akosphp commented Oct 10, 2022

Hi all,

We've recently moved to the new MailerLite from the Classic version, and some endpoints are not working with the new version.

For example, there is a problem with the webhooks endpoint.

Client error: GET https://api.mailerlite.com/api/v2/webhooks resulted in a 404 Not Found response:
{"error":{"message":"Endpoint not found"}}

We have the same problem wiht the unsubscription ($this->mailerLite->subscribers()->delete($subscriber->getEmail())).

Does anyone know the solution to this?

@akosphp
Copy link
Author

akosphp commented Oct 11, 2022

I've just received an update from the MailerLite support team:

There is no endpoint for webhooks available for the new API at the moment, you can find all available endpoints on the main page here: https://developers.mailerlite.com/docs/#mailerlite-api
"https://api.mailerlite.com/api/v2/webhooks" is an endpoint from the Classic version - it will only work with the classic API key.
The card to create webhooks for the new Mailerlite as well, but it was created just a week ago, so it will take some time before it is released. Once it's out - it will be added to the documentation for new API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant