Is there a limit to number of events coming from API?

Highlighted
Occasional Contributor

Is there a limit to number of events coming from API?

We have an API to get events posted on our website after they are entered in Constant Contact. I have entered about 150 events in constant contact, but only 50 are coming back through.

 

Is 50 the limit?

2 REPLIES 2
Highlighted
Solution Provider

Re: Is there a limit to number of events coming from API?

We are interested in this answer as well. Thanks!

Highlighted
Moderator

Re: Is there a limit to number of events coming from API?

If you are using our v2 API, the default amount of events returned on the first page is 50, this can be set to anything from 1-500 using the limit query parameter (see our documentation for details).  Included in the payload when you hit the limit of returned results is a meta data section which would include a link to the next 1-500 events, depending on what your original limits are.  You can see our documentation overview on paginated data for more information on how this works.

Dave Berard
Senior Product Manager, Constant Contact
Developer Portal

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

Constant Contact would like to hear from you

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured