cancel
Showing results for 
Search instead for 
Did you mean: 
Tomorrow morning (8/26) from 07:00 AM - 08:00 AM ET we need to make a few updates to our site. During this time, no emails will be sent and some customers will not be able to access their contacts. We recommend finishing up your work before 07:00 AM and logging in after 08:00 AM ET. Thank you for your patience while we make these updates.

Event Listing Filters

Regular Visitor

Event Listing Filters

My requirement :

 

(1) Get upcoming events.

(2) Get Past events based on certain filters (eg : date, tags)

 

From my understanding of the APIs available :

(1) Upcoming events can only be obtained via the html widget available. There are no REST APIs available for it. (Why? :(  )

(2) Data filtering isnt possible via the API & hence the onus is on the user to segregate the data.

 

Correct?

 

2 REPLIES 2
CTCT Employee

Re: Event Listing Filters

Hello,

 

When you do a get https call on the events URI, it will give you both the upcoming events as well as the completed and cancelled events.  You can find more information about there here

 

There currently is not any data filtering options available for our events API.  You would need to segregate the data on your end.

 

If you have any questions about this, or if you run into anything while you are doing your integration, please feel free to ask us.

 

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
Regular Visitor

Re: Event Listing Filters

I am aware of the existing REST APis but wasnt sure if there was a way to get only the upcoming events via it.

 

Since the html widget is able to give the upcoming events, I couldn't understand why a REST API for it doesnt exist already.