Hello hfeenaughty,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
Whether you are able to add to multiple lists via the integration you are using will depend on a couple of factors.
If it’s an integration that was developed by a third party that just has you log in and grant access, choose a list, and then configure the form, you’d need to check whether their settings allow for multiple lists to be selected.
If the integration was developed by or for your organization, then you’d be able to specify the lists within the programming of the application. It looks like the 3rd party integration that you connect with uses our legacy V2 API.
You would just need to modify the JSON Request Body when calling the Contacts endpoint to include both form IDs like so:
"lists": [
{
"id": "999999999", "id": "222222222"
}
Legacy V2 API Contacts Collection Endpoint
https://v2.developer.constantcontact.com/docs/contacts-api/contacts-collection.html?method=POST
You can easily access your account’s list IDs via the API tester in Mashery*. If for some reason do not have access to your original Mashery account, you can easily create a new one with the instructions below in order to retrieve the desired List IDs:
Obtain a List ID for Legacy V2 API
https://knowledgebase.constantcontact.com/articles/KnowledgeBase/5892-obtain-a-list-ID-for-apis?lang=en_US#v2
(*Mashery does not use the same UN/PW as your Constant Contact account)
As a side note:
While no date is currently set, there will be a point in the future where our legacy V2 API will begin deprecation, as the deprecation process for our retired V1 API is nearly complete. Due to this, while we will continue to deploy critical bug fixes at this time, we will not be doing any more development for V2 or its endpoints, and strongly recommend switching to an integration/plugin that utilizes the V3 API (or you can contact the developer of the plugin/application that you use and ask if they plan to release an updated version) to ensure you're ahead of the curve.
Please have a look and let us know if you have any other questions!
... View more