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.

How to get only id of contact list via API

Occasional Contributor

How to get only id of contact list via API

I am used ContactListId attribute to get contatc ist id , but it's returning whole url with id. 

How I can get only contact list id?

Trusted Contributor

Re: How to get only id of contact list via API

Hello Nishant,


The full request url is the id for the resources, but as most of the url is identical for all lists, the only thing that one really needs is the numbera the end of the url, which is determined by the sequence  in which lists are created in the account.


I hope this information helps.

Mark Coleman
Support Engineer
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