Retrieve Available Subscriber Custom Fields


Is there a way to retrieve the available custom fields for a particular subscriber list? We have multiple subscriber lists, each with their own set of custom fields. I'm trying to write one function to output each subscriber signup form (that I can call on various pages around the website). I would like to retrieve the available custom fields, so I know which form fields to create for each subscriber signup form.

Note, I'm manually creating the subscriber forms with PHP/HTML, and using the API on form submission to add the subscriber. So I'm not using the 'Create a subscribe form' tool in CM.



Phil Phil, 4 years ago

Hi James,

All custom fields are available through the API.

The correct method in the php wrapper is here, along with a basic sample.


roshodgekiss roshodgekiss, 4 years ago

Hi James, we have a custom fields API method which you can use to retrieve the custom fields for a given list. You'll need to make a call for each list (list ID). Hope this helps, but let us know if you have any questions :)

Get in touch with us on Twitter:
We're also on Facebook:
Pica Pica, 4 years ago

Thanks so much!!

Pica Design + Marketing

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free