cancel
Showing results for 
Search instead for 
Did you mean: 
Due to an issue with YouTube, inserting videos in your emails is showing an error. Until they are able to resolve this issue, we recommend using a different video hosting service. We will continue to monitor this outage and update you as we have more information.

Adding new Contact

SOLVED
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?

 

2 REPLIES 2
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?

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