Search Subscribers (Non-PHP implementation)

Discussion in 'General discussions' started by Ronnie, Mar 29, 2019.

  1. Ronnie

    Ronnie New Member

    Joined:
    Jan 21, 2019
    Messages:
    8
    Likes Received:
    1
    S.E:
    2019-07-22 23:58:04
    L.T:
    Regular
    L.C:
    2
    I am implementing search subscribers via mailwizz api. Both (1) email search and (2) email search in all lists yields a 404 not found error even though I can verify that the email address in indeed present in the List in Mailiwizz dashboard.

    GET https://www.example.com/api/index.p...arch-by-email-in-all-lists?EMAIL=john@abc.com
    status code: 404
    errorL: {"status":"error","error":"Page not found."}

    GET https://www.example.com/api/index.php/lists/subscribers/search-by-email?EMAIL=john@abc.com

    status code: 404
    errorL: {"status":"error","error":"Page not found."}

    What am I missing here?

    Note: I cannot use Mailiwizz PHP-SDK since we're not using PHP. I can only reverse engineer the SDK, It wouold be awesome if the Mailiwizz docs is kind of generics REST documentation.
     
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    9,980
    Likes Received:
    2,338
    can you put here the original url so we can take a look ?
     
  3. Ronnie

    Ronnie New Member

    Joined:
    Jan 21, 2019
    Messages:
    8
    Likes Received:
    1
    S.E:
    2019-07-22 23:58:04
    L.T:
    Regular
    L.C:
    2
    twisted1919 likes this.
  4. Ronnie

    Ronnie New Member

    Joined:
    Jan 21, 2019
    Messages:
    8
    Likes Received:
    1
    S.E:
    2019-07-22 23:58:04
    L.T:
    Regular
    L.C:
    2
  5. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    9,980
    Likes Received:
    2,338
    @Ronnie - url hashes are unique per campaign, so they are the same for all subscribers. You can get them by looking at the web version of a campaign in behalf of a customer.
    In a url like:
    Code:
    http://domain.com/index.php/campaigns/ba149qktbobf3/track-url/so7916ss0vea1/1a4fac8f6b25a2a86b7df484ca19d4f144eafad8
    
    the hash is 1a4fac8f6b25a2a86b7df484ca19d4f144eafad8
     

Share This Page