API endpoint to fetch list of custom fields

Participant

API endpoint to fetch list of custom fields

Hi 

 

I am interested if there is dedicated API endpoint for fetching custom fields for contact resources? It could be also endpoint that returns all available contact fields? Do you have sth like that?

 

Thanks in advance for help.

Kind regards,

Lukas

 

1 REPLY 1
Moderator

Hello,

 

There is not an endpoint to pull all of the custom fields. They are not actually in place until you create them and they are named custom field 1 through 15 if created through the API. If they were created through the website they could have any name.

 

However; if you pull the endpoint for a contact it will show any field that has been filled out for that contact. This is not what you wanted, but it may be a work around. That endpoint can be found here. (http://developer.constantcontact.com/docs/contacts-api/contacts-resource.html)


Regards,
Jimmy D.
Tier II API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page