API - getting subscribers in segment

gteindia

Member
Hello,
You can use our PHP-SDK or Python-SDK:
https://github.com/twisted1919/mailwizz-php-sdk
https://github.com/twisted1919/mailwizz-python-sdk
Also here the documentation for the PHP one, the python use is pretty similar:
https://api-docs.mailwizz.com/

Cosmin
From what I understand of the API, the actual code to insert a subscriber will have to be on the same computer where MW is installed and running. As per my understanding, I will have to make a 'broker' which will add the actual subscriber to the list. The outside world will have to talk to this broker. Am I correct?

EDIT: Do you already have such a thing in https://github.com/thangtx/mailwizzphpapi-wrap ?
 

ghimes

Member
Staff member Support Staff
From what I understand of the API, the actual code to insert a subscriber will have to be on the same computer where MW is installed and running.
No, that is not right. You can be on any machine where you need the SDK deployed. You just need to make the apiUrl point to your mailwizz instance.

Of course, you will need your own code that will make use of the SDK. The projects files contain also some examples how to do it.

Cosmin
 
Top