Subscribing multiple users using the API
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.
This discussion has been closed.
Comments
Hi,
You can write a loop in your script to add all subscribers to your list.
Thanks.
Best regards,
Ben
Would it be okay to make a POST request from my main server to sendy installation server with every iteration?
Hi,
Yes. You can
POST
to the 'subscribe' API multiple times using a 'loop' in your script.Best regards,
Ben