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.

Adding new Contact

SOLVED
Go to solution
Highlighted
Occasional Contributor

Adding new Contact

I'm trying to get a list of all contacts using: contactService.GetContacts(null). That returns 50 results.

 

Assuming that was all of them I tried to add a new email and got:

http.status.email_address.conflict:Email address abc@gmail.com already exists.

 

That was not in the list of 50. When I log into the Constant Contact account, I can't see any emails (not the 50 being returned or the one I'm trying to add).

 

There must be more than 50 emails still associated to this account behind the scenes. How can I get the full list so I can make sure I do updates at the right time and adds at the right time?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

Re: Adding new Contact

Hello @DavidL7089,

 

Our system does have a limit of 500 per response when doing a GET on contacts and then offers pagination if you have more results. The results will include a pagination URL to append to the main URL endpoint to get the next set of results. You can reference our pagination documentation here: http://developer.constantcontact.com/docs/developer-guides/paginated-output.html


Regards,
Jimmy D.
Tier II API Support Engineer

View solution in original post

2 REPLIES 2
Highlighted
Occasional Contributor

Re: Adding new Contact

I read more and found the limit part that I increased to 500. But if I want to get every single Contact so that I can put them all in a giant list, what values should I pass as parameters?

Highlighted
Moderator

Re: Adding new Contact

Hello @DavidL7089,

 

Our system does have a limit of 500 per response when doing a GET on contacts and then offers pagination if you have more results. The results will include a pagination URL to append to the main URL endpoint to get the next set of results. You can reference our pagination documentation here: http://developer.constantcontact.com/docs/developer-guides/paginated-output.html


Regards,
Jimmy D.
Tier II API Support Engineer

View solution in original post

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