Searching for Contact with Custom field?

Highlighted
Occasional Contributor

Searching for Contact with Custom field?

Is this possible?

 

I would like to search by CustomField3, but sending the request as:

 

https://api.constantcontact.com/ws/customers/USERNAME/contacts?CustomField3=123456

 

doesn't appear to work. It returns 20 or so records (the value in CustomField3 is unique).

 

Thoughts?

3 REPLIES 3
Highlighted
Trusted Contributor

Re: Searching for Contact with Custom field?

Hello,

 

You can only use this type of request to search for email address and date late updated with currently (by appending parameter-value pairs for search critiera). At this time, the most economical approach if you have a large number of contacts would be to bulk export email address and the field you intend to search, retrieve the exported file, and parse that on your end to identify contacts meeting your criteria. You could then search by email address to retrieve details for those contacts. You're likely getting back multiple unrelated results because your parameter is being ignored, and our system is treating your request as a GET to list all contacts.

 

Additional search or sorting functionality may become available with the advent of the next version our API, which is currently still out there on the Horizon.

 

Cheers,

Mark Coleman
Support Engineer
Highlighted
Occasional Participant

Re: Searching for Contact with Custom field?

Hi,

 

We would like to be able to search by more than just email or last update date? It would allow us to synch. contacts in multiple data stores.

 

You allow users of the web UI at Constant Contact to search that way, it should not be hard to extend the same search capability to the API.

 

Any idea when this feature will be available?

Highlighted
CTCT Employee

Re: Searching for Contact with Custom field?

Hi,

 

I will pass this feedback on for you.  That functionality will probably not be available until next year at the earliest.

 

Best Regards,

Shannon W.

API Support Specialist 

Developer Portal

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

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured