The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

API v3 Bulk Import: resulting Contact IDs

Highlighted
Occasional Contributor

API v3 Bulk Import: resulting Contact IDs

I'm attempting to important a large list of contacts into a new account/list. But I'd like to get the Contact IDs associated with the new Contacts as part of the response, as is the case using POST when creating Contacts one by one.

 

Is such a thing possible? Ideally the response would include the list of Contacts successfully added, along with their contact_id.

 

If it's not possible to do this way, how can achieve this without hitting a rate limit?

1 REPLY 1
Highlighted
Moderator

Re: API v3 Bulk Import: resulting Contact IDs

Hello @JulieK7237,

 

Thank you for reaching out to Constant Contact's API Support.

 

The contactIDs are not currently included in the results of the BULK import; I'll talk with our engineers to see if that is an option.

 

Your best way to get those IDs with the fewest amount of calls is to do a GET an include the parameter of either a specific listID (if you created a new list), or use the parameter of updated_after. Either new, or updated, contacts will display with the updated_after parameter which will limit your results and help you see only specific results; assuming you do this GET after you finish your import.

 

https://v3.developer.constantcontact.com/api_reference/index.html#!/Contacts/getContacts


Regards,
Jimmy D.
Tier II API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured