Get Event ID from API (the internal numeric one)

SCORESD
Consulting & Training

Get Event ID from API (the internal numeric one)

I am successfully pulling events and registrants into our own application for internal staff use. I'd like to build a link to the event page in the Constant Contact UI e.g.

 

https://ui.constantcontact.com/rnavmap/evp/manage/display?id=1110920304671

 

How can I get the ID for an event - in this case '1110920304671' ?

 

I can't see it in the XML for any of the API responses.

 

 

3 REPLIES 3
Shannon_W
Employee

Hi,

 

You can make a call to retrieve (get) your events with a URI such as:

 

https://api.constantcontact.com/ws/customers/username/events

 

The resulting XML will contain information for your events.  There are atom:id nodes and atom:link nodes that both contain an obfuscated event id at the end of the url inside the node, which can be used for API calls.  You could use those event id's to retrieve individual event details, but without an active session in our UI and the obfuscated id, you wouldn't be able to get to the actual Constant Contact event page. 

 

Best Regards,

Shannon W.

API Support Specialist

SCORESD
Consulting & Training

Thank you Shannon.

 

I am already doing as you suggest as outlned in my original request. Let's assume I have an active session in the UI, how can I get the real ID from the obfuscated ID? I realize that by definition, obfuscation is meant to make this difficult or impossible... but how else can a user reference the event in the UI?

 

 

 

You're welcome.  Currently there isn't an API endpoint that reveals the non-obfuscated event ID.  I am passing this along as a feature request to our engineering team.  I believe it would make sense for us to reveal this through the API, since this is what we do with respect to email campaigns.

 

Best Regards,

Shannon W.

API Support Specialist

Developer Portal

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

Visit Page