Campaign Creation via API

Discussion in 'General discussions' started by Eldi, Oct 25, 2019.

  1. Eldi

    Eldi Member

    Joined:
    Mar 19, 2015
    Messages:
    59
    Likes Received:
    4
    S.E:
    2020-04-25 09:10:41
    L.T:
    Regular
    L.C:
    4
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,436
    Likes Received:
    2,427
    @Eldi - Try:
    PHP:
    $response $endpoint->create(array(
       ...
       
    'delivery_servers' => '1,10,30',
       ...
    ));

    Where 1, 10 and 30 are server ids.
     
  3. Eldi

    Eldi Member

    Joined:
    Mar 19, 2015
    Messages:
    59
    Likes Received:
    4
    S.E:
    2020-04-25 09:10:41
    L.T:
    Regular
    L.C:
    4
    Thank you :)
     
  4. Eldi

    Eldi Member

    Joined:
    Mar 19, 2015
    Messages:
    59
    Likes Received:
    4
    S.E:
    2020-04-25 09:10:41
    L.T:
    Regular
    L.C:
    4
    I have another question for campaign creation via API.

    Actions against subscribers upon campaign open - I want to move subscribers to some other list if they open the email.
    How can I do this?

    http://prntscr.com/pq3zcl
     
  5. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,436
    Likes Received:
    2,427
    We cannot do this via API.

    And as a general thing, the api is really limited compared with the functionality the app offers in it's customer/backend area.
     

Share This Page