Create a List

Create publication and suppression lists in Marketing Cloud Engagement by using SOAP API.

The returned List object includes a populated ID variable, which you can use in future calls.

1<s:Envelope
2  xmlns:s="http://www.w3.org/2003/05/soap-envelope"
3  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing"
4  xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
5  <s:Header>
6    <a:Action s:mustUnderstand="1">Create</a:Action>
7    <a:To s:mustUnderstand="1">https://YOUR_SUBDOMAIN.soap.marketingcloudapis.com/Service.asmx</a:To>
8    <fueloauth xmlns="http://exacttarget.com">YOUR_ACCESS_TOKEN</fueloauth>
9  </s:Header>
10  <s:Body
11    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
13    <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
14      <Options></Options>
15      <Objects xsi:type="List">
16        <ListName>Test_List_Public_1</ListName>
17        <Type>Public</Type>
18      </Objects>
19    </CreateRequest>
20  </s:Body>
21</s:Envelope>

See Also