How can I load a List of Contacts with API

0

We have created a Survey and an Email Campaign to share the Survey.  On a weekly/daily basis, we want to take a list of new Contacts from our internal system and add them the the Email Campaign.  And then Send out the “message” email in the Campaign to these new contacts.

Is there a way to use the REST API to submit multiple contacts at the same time?

 

Or do we have to use an iterator function and use the Rest API to add one contact at a time?

https://apihelp.surveygizmo.com/help/survey-contact-sub-object-v5#createobject

https://restapi.surveygizmo.com/v5/survey/123456/surveycampaign/100000/surveycontact/?_method=PUT&email_address=newexample@email.com

 

I’m asking because of the API request throttling

https://apihelp.surveygizmo.com/help/api-request-limits

 

 

Thanks!

developer answered
    1

    The survey contact sub object that you referenced is the appropriate method for adding contacts to an email campaign (there is not an alternate bulk add method).

    Depending on your plan level, you will need to make sure that you don’t hit the referenced limit while iterating.

    Hope this helps clarify!

    Dominic Sharpe answered
      0

      That is what I was afraid of.  Thanks for the clarification.  I will be sure to code in throttling when iterating.

       

      developer answered
        ×

        Login

        Question stats

        • Active
        • Views1439 times
        • Answers2 answers
        • Followers1 follower