Using Pipedrive Search API, is it possible to ‘search’ if a lead is present with the domain ‘google.com’? In the documentation domain is not included in the fields which we can use with the search endpoint.
What do you mean by “if a lead is present with the domain google.com”?
If you mean finding leads with an email address that has the domain google.com, you can use the Item Search endpoint >
You would have to filter out type: ‘person’ results from the response, but it should also include the leads that are linked to persons that are using an email with
Also, as the search will match more stuff, e.g. persons with emails like
email@example.com, you should explicitly go over all the results returned by the endpoint and only process ones with type = lead and emails that are actually ending with
I hope this helps?
I wanted to use the Item Search Endpoint like this
Unfortunately, this is not possible right now as we currently don’t support a
domain field in Search API.
I’ve since passed on your feedback about wanting to use the
domain field to the relevant team.