I just created a new contact list via API, now I wanna know is there any way to get the id of this list. because later I want to add contacts to this list.
The new list ID would have been returned in the response body back from our server, but we do have an API call available to GET your contact lists and their respective list ID's through the API.
The easiest way to see though, is to login to the account, go to the Contacts tab, click on a list, and look at the URL. It should look something like this:
In this case, the list ID is 3. I hope that helps!
API Support Specialist
View API documentation, code samples, get your API key.