I want to create a cloud page where it displays all the publication lists and from those user can select and subscribe in any of the publications.Just like in the subscription center. As I am new to marketing cloud and ampscript any help will be appreciated.

1 Answer 1


You need to interact with the SOAP API which can either be done using AMPscript or Server-Side JavaScript. To fetch all publication lists you need to do a retrieve on the List object. Just be sure to filter on the ListClassification-property for the value PublicationList.

An example request to retrieve all publication lists looks like this:

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
        <fueloauth xmlns="http://exacttarget.com">ACCESS_TOKEN</fueloauth >
    <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
                <Filter xsi:type="SimpleFilterPart">

Further resources:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.