API - getting subscribers in segment

Discussion in 'General discussions' started by eggerda, Feb 9, 2019.

  1. ghimes

    ghimes Member Staff Member Support Staff

    Joined:
    Feb 2, 2018
    Messages:
    37
    Likes Received:
    12
  2. gteindia

    gteindia Member

    Joined:
    Apr 28, 2018
    Messages:
    41
    Likes Received:
    2
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    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 ?
     
  3. ghimes

    ghimes Member Staff Member Support Staff

    Joined:
    Feb 2, 2018
    Messages:
    37
    Likes Received:
    12
    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
     

Share This Page