Get contact using its Phone number on freshsales

hi team,

how to get the details of particular contact using its phone number on freshsales.
is their any api to get it done ? help me out… !

1 Like

@Raghul_Kumar,
yes, there is an API to get the contact using its phone number,
you can use /api/filtered_search/contact API
in the filter rule you can use either work number or mobile number for your case.
eg:

curl -H ‘Authorization: Token token=sfg999666t673t7t82’ -H ‘Content-Type:application/json’ -X POST https://domain.freshsales.io/api/filtered_search/contact -d '{ “filter_rule” : [{“attribute” : “contact_email.email”, “operator”:“is_in”, “value":"jamessampleton@gmail.com”}] }

hope it helps :slight_smile:

2 Likes

thank you @Santhosh its working :+1:t3: