We have been using the /persons/find API endpoint to get matching persons, this has worked fine.
However we just noticed that this endpoint is now returning null instead of a list of matches.
The API documentations suggests that the above endpoint is deprecated, so I’ve tried the newer /persons/search endpoint, but it’s returning an empty list.
This is what the deprecated endpoint returns:
and the newer search endpoint returns an empty list, example:
Looks like we are not getting matches either way. Can you please help look into this?
Happy to provide more info if needed.
I made a similar request with my Pipedrive data
Taking into account that I have a person with email = email@example.com (for testing only), I got next result
I understand that you cannot expose email you searching for here. Could you remove exact_match key from request and check what would be the result? Maybe email term does not exact match to email value.
Hello @mykhailo thanks for looking into this!
I just tried again with the same parameters and it works (both old and new). While I’m not sure what happened last week I’m glad it is back to normal
I do have a follow up question about the deprecated endpoint (/persons/find): do you happen to know when it will stop working completely? What’s the best way for developers to receive updates on these deprecations so we can plan for the update ahead of time?
will be deprecated on 31 March 2021.
You can find this info here in the future https://developers.pipedrive.com/docs/api/v1/#/