Search Tasks

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

This API searches for tasks in your help desk portal.

OAuth Scope

  • Desk.search.READ
  • Desk.activities.calls.READ
  • Desk.activities.events.READ
  • Desk.activities.READ
  • Desk.activities.tasks.READ
  • Desk.tasks.READ

Request Params

KeyDatatypeRequiredDescription
fromstringFrom index, starts from 0
limitstringNo. of entities to fetch
departmentIdstringID of the department from which the entity must be fetched if not passed then searches in permitted departments <br>exact match<br>
idstringID of the task <br>exact match<br>
subjectstringsubject of the task in the help desk <br>wildcard search<br>
ticketNumberstringticket Number of the ticket that associated with the task <br>exact match<br>
statusstringstatus of the task <br>exact match<br>
prioritystringPriority of the task <br>exact match<br>
assigneeIdstringID of the agent assigned to resolve the task <br>exact match<br>
_allstringSearch throughout the task <br>wildcard search<br>
customField1stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField2stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField3stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField4stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField5stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField6stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField7stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField8stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField9stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
customField10stringCustom field in the task <br>wildcard search<br> <br>empty check<br> <br>not empty check<br>
createdTimeRangestringKey that filters tasks 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 tasks 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
dueDateRangestringKey that filters tasks due 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, dueDateRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z
sortBystringSortBy can be: <br>relevance,<br> <br>modifiedTime,<br> <br>createdTime,<br>

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;modifiedTime&quot;:&quot;2016-09-13T12:14:41.000Z&quot;,&quot;cf&quot;:{},&quot;ticket&quot;:null,&quot;subject&quot;:&quot;Bug Fix #121&quot;,&quot;completedTime&quot;:null,&quot;departmentId&quot;:&quot;3000000007043&quot;,&quot;dueDate&quot;:&quot;2016-09-19T12:27:26.000Z&quot;,&quot;creatorId&quot;:&quot;3000000008692&quot;,&quot;description&quot;:null,&quot;ownerId&quot;:&quot;3000000054002&quot;,&quot;priority&quot;:&quot;High&quot;,&quot;isCommented&quot;:false,&quot;createdTime&quot;:&quot;2016-08-14T08:27:26.000Z&quot;,&quot;assignee&quot;:{&quot;firstName&quot;:&quot;&quot;,&quot;lastName&quot;:&quot;jade&quot;,&quot;photoURL&quot;:&quot;https://contacts.zoho.com/file?t=user\u0026ID=10657727&quot;,&quot;emailId&quot;:&quot;jade@zylker.com&quot;,&quot;id&quot;:&quot;5000000009116&quot;,&quot;zuid&quot;:&quot;10657727&quot;},&quot;id&quot;:&quot;3000000054004&quot;,&quot;department&quot;:{&quot;name&quot;:&quot;Testing&quot;,&quot;id&quot;:&quot;5000000007235&quot;},&quot;category&quot;:null,&quot;ticketId&quot;:null,&quot;status&quot;:&quot;Not Started&quot;}],&quot;count&quot;:1}