Generate List Key
To access list management API methods, in addition to your authentication parameters, a mandatory parameter "listkey" is to be used. The listkey represents the mailing list you're trying to access.
- From the Navigation toolbar, choose Contacts and select Manage Lists.
- In Lists page, click the Mailing list for which you'd like to generate the list key.
- Click Setup and scroll down to view the List Key.
- Copy the List key.
Listed out in the table are the various API methods and their purposes for list management through API.
|To fetch the mailing list and list details.
|To fetch the list based advanced details.
|To get the contacts based on status.
|To fetch contact fields to get profile information of contacts.
|To fetch the segment details.
|To fetch the segment contacts.
|To edit mailing list's name and allow sign-up form.
|To delete the mailing list.
|To view all the contacts in a mailing list
|To add contacts (one at a time) and custom fields to a list (private and public list).
|To unsubscribe the user from a list.
|To move a contact to Do-Not-Mail registry.
|To add new list and contacts in the list.
|To add contacts in existing list.
|To create custom fields for contacts.
|To create merge tags.