Search accounts

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

This API searches for accounts 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 account <br>exact match<br>
accountNamestringName of the account <br>wildcard search<br>
_allstringSearch throughout the account <br>wildcard search<br>
customField1stringCustom field in the account <br>wildcard search<br> e.g customField1=cf_activeAccount:true <br>empty check<br> e.g customField1=cf_activeAccount:${empty} <br>not empty check<br>
customField2stringCustom field in the account <br>wildcard search<br> <br>empty check<br> <br>not empty check<br> e.g customField2=cf_activeAccount:${notempty}
customField3stringCustom field in the account <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField4stringCustom field in the account <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField5stringCustom field in the account <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField6stringCustom field in the account <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField7stringCustom field in the account <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField8stringCustom field in the account <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField9stringCustom field in the account <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField10stringCustom field in the account <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
createdTimeRangestringKey that filters accounts 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 accounts 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>accountName<br>

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;owner&quot;:{&quot;firstName&quot;:&quot;Twin&quot;,&quot;lastName&quot;:&quot;john&quot;,&quot;photoURL&quot;:&quot;https://desk.zoho.com/api/v1/agents/52338000000691001/photo?t=user\u0026ID=10657727&quot;,&quot;emailId&quot;:&quot;jade@zylker.com&quot;,&quot;id&quot;:&quot;3263000000057001&quot;,&quot;zuid&quot;:&quot;10657727&quot;},&quot;country&quot;:&quot;USA&quot;,&quot;modifiedTime&quot;:&quot;2015-03-02T14:49:18.000Z&quot;,&quot;website&quot;:&quot;www.zylker.com&quot;,&quot;code&quot;:&quot;3211&quot;,&quot;cf&quot;:{&quot;cf_contactcount&quot;:&quot;1&quot;},&quot;accountName&quot;:&quot;Zylker&quot;,&quot;city&quot;:null,&quot;description&quot;:null,&quot;industry&quot;:&quot;Automation&quot;,&quot;ownerId&quot;:&quot;3263000000057001&quot;,&quot;phone&quot;:&quot;6218129190&quot;,&quot;street&quot;:null,&quot;annualrevenue&quot;:null,&quot;webUrl&quot;:&quot;https://desk.zoho.com/support/zylker/ShowHomePage.do#Accounts/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38&quot;,&quot;createdTime&quot;:&quot;2015-02-16T16:57:44.000Z&quot;,&quot;state&quot;:null,&quot;id&quot;:&quot;3263000000074571&quot;,&quot;fax&quot;:&quot;+1 444 8656 8732&quot;,&quot;email&quot;:&quot;support@zylker.com&quot;}],&quot;count&quot;:1}