Search for PhoneNumber via REST - CTI
Summarybest way to identify contact based on a phone number
we are working on a lightweight integration between our CTI solution and SalesCloud. So we just want to query with phone number and get ContactName & Account back. One challenge is of course that there are many phone numbers on a contact...
We would start with a straight forward approach and simply query contacts with the number on the two main phone fields (we have some doubts on performance...).
/crmRestApi/resources/latest/contacts?q=RawMobileNumber='<phnoneNumber>' or RawWorkPhoneNumber='<phnoneNumber>'&onlyData=true&fields=FirstName,LastName,AccountName,AccountSourceSystemReferenceValue