Search Contacts

GET {{baseUrl}}/api/v1/contacts/search

This API searches for contacts in your help desk portal.

OAuth Scope

  • Desk.search.READ
  • Desk.contacts.READ

Request Params

KeyDatatypeRequiredDescription
fromstringFrom index, starts from 0
limitstringNo. of entities to fetch
idstringID of the contact <br>exact match<br>
fullNamestringFull name of the contact <br>wildcard search<br>
firstNamestringFirst name of the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
lastNamestringLast name of the contact <br>wildcard search<br>
emailstringEmail ID of the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
phonestringPhone number of the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
mobilestringMobile number of the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
accountNamestringName of the account associated with the Contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
_allstringSearch throughout the contact <br>wildcard search<br>
customField1stringCustom field in the Contact <br>wildcard search<br> e.g customField1=cf_mappedWithAccount:true <br>empty check<br> e.g customField1=cf_mappedWithAccount:${empty} <br>not empty check<br>
customField2stringCustom field in the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br> e.g customField2=cf_mappedWithAccount:${notempty}
customField3stringCustom field in the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField4stringCustom field in the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField5stringCustom field in the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField6stringCustom field in the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField7stringCustom field in the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField8stringCustom field in the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField9stringCustom field in the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField10stringCustom field in the contact <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
createdTimeRangestringKey that filters contacts created in a particular period of time. Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ; for example, createdTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z
modifiedTimeRangestringKey that filters contacts modified in a particular period of time. Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ; for example, modifiedTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z
sortBystringSortBy can be: <br>relevance,<br> <br>modifiedTime,<br> <br>createdTime,<br> <br>lastName,<br> <br>firstName<br>

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;lastName&quot;:&quot;Lawrence&quot;,&quot;modifiedTime&quot;:&quot;2016-05-04T09:57:17.000Z&quot;,&quot;country&quot;:null,&quot;secondaryEmail&quot;:null,&quot;city&quot;:null,&quot;description&quot;:null,&quot;ownerId&quot;:&quot;1892000000042001&quot;,&quot;type&quot;:null,&quot;title&quot;:null,&quot;photoURL&quot;:&quot;https://desk.zoho.com/api/v1/contacts/1892000000042032/photo&quot;,&quot;twitter&quot;:null,&quot;street&quot;:null,&quot;createdTime&quot;:&quot;2013-11-04T11:21:07.000Z&quot;,&quot;isEndUser&quot;:&quot;false&quot;,&quot;zohoCRMContact&quot;:{&quot;id&quot;:&quot;5000000014010&quot;,&quot;type&quot;:&quot;contacts_leads&quot;},&quot;customerHappiness&quot;:{&quot;badPercentage&quot;:&quot;22&quot;,&quot;okPercentage&quot;:&quot;31&quot;,&quot;goodPercentage&quot;:&quot;47&quot;},&quot;state&quot;:null,&quot;id&quot;:&quot;1892000000042032&quot;,&quot;email&quot;:&quot;lawrence@zylker.com&quot;,&quot;zip&quot;:null,&quot;owner&quot;:{&quot;firstName&quot;:&quot;Twin&quot;,&quot;lastName&quot;:&quot;john&quot;,&quot;photoURL&quot;:null,&quot;emailId&quot;:&quot;lawrence@zylker.com&quot;,&quot;id&quot;:&quot;1892000000042001&quot;,&quot;zuid&quot;:&quot;14345345&quot;},&quot;cf&quot;:{&quot;cf_permanentaddress&quot;:null,&quot;cf_lastcontactedon&quot;:null},&quot;facebook&quot;:null,&quot;mobile&quot;:null,&quot;accountId&quot;:&quot;1892000000975382&quot;,&quot;firstName&quot;:&quot;Jennifer&quot;,&quot;phone&quot;:&quot;1 888 900 9646&quot;,&quot;webUrl&quot;:&quot;https://desk.zoho.com/support/zylker/ShowHomePage.do#Contacts/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38&quot;,&quot;account&quot;:{&quot;website&quot;:null,&quot;accountName&quot;:&quot;Zylker&quot;,&quot;id&quot;:&quot;1892000000975382&quot;}}],&quot;count&quot;:1}