If I understand you correctly you are asking if there is a way to retrieve all contacts from a portal based on a specific value stored in a custom property. If that is the case the best approach to take would be one of the following:
1) Get all contacts
You can use our Contacts API to pull all contacts from a portal and specify the properties to return. You can then loop through the data and filter out the contacts based on the value stored in the properties returned. The endpoint required would be this one. Contacts are returned in sets of 100 and you can make additional requests using the "offset" parameter included in the response body.
2) Get all contacts on a list
You could programmatically create a list of contacts using this endpoint and setup your filters accordingly. You could then pull all contacts from the list using this endpoint. You would need to allow a few minutes for the list to populate with data depending on the number of contacts in your portal.
There is also a search endpoint documented here that would allow you to search for contacts in a portal using the "email address, first and last name, phone number, and company name" properties.
If I understand you correctly you are asking if there is a way to retrieve all contacts from a portal based on a specific value stored in a custom property. If that is the case the best approach to take would be one of the following:
1) Get all contacts
You can use our Contacts API to pull all contacts from a portal and specify the properties to return. You can then loop through the data and filter out the contacts based on the value stored in the properties returned. The endpoint required would be this one. Contacts are returned in sets of 100 and you can make additional requests using the "offset" parameter included in the response body.
2) Get all contacts on a list
You could programmatically create a list of contacts using this endpoint and setup your filters accordingly. You could then pull all contacts from the list using this endpoint. You would need to allow a few minutes for the list to populate with data depending on the number of contacts in your portal.
There is also a search endpoint documented here that would allow you to search for contacts in a portal using the "email address, first and last name, phone number, and company name" properties.