Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Subscribing multiple users using the API
  • Vote Up0Vote Down TheBigKTheBigK
    Posts: 4Sendy user

    I'm required to pass a list of subscribers, in the [name] [email] format through the Sendy API. Does Sendy accept an array as a parameter for the name and email fields?

    Or will I have to make a post request for each of the users, separately? I'm looking at adding about 1000 - 2000 subscribers in one go, through the API.

  • 3 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,102Sendy support

    Hi,

    You can write a loop in your script to add all subscribers to your list.

    Thanks.

    Best regards,
    Ben

  • Vote Up0Vote Down TheBigKTheBigK
    Posts: 4Sendy user

    Would it be okay to make a POST request from my main server to sendy installation server with every iteration?

  • Vote Up0Vote Down BenBen
    Posts: 3,102Sendy support

    Hi,

    Would it be okay to make a POST request from my main server to sendy installation server with every iteration?

    Yes. You can POST to the 'subscribe' API multiple times using a 'loop' in your script.

    Best regards,
    Ben

This discussion has been closed.
All Discussions