List tickets by due minutes

GET {{baseUrl}}/api/v1/ticketsByDueInMinutes?dueInMinutes=<integer>

This API lists tickets by the due time for resolution.

OAuth Scope

  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
fromstringIndex number, starting from which the tickets must be listed
limitstringNumber of tickets to fetch
departmentIdstringID of the department from which the tickets must be fetched
dueInMinutesstringNumber of minutes left for resolving the ticket. Currently, the minimum number of minutes is 15 and the maximum is 2,880. This query param can return overdue and no-due tickets too. Values allowed are overDue, 15, 30, 45, 60, 90, 120, 180, 360, 540, 720, 1080, 1440, 2880, noDue, and onhold.
includestringAdditional information related to the tickets. Values allowed are:&nbsp;contacts,&nbsp;products, departments,&nbsp;team,&nbsp;isRead and assignee. You can pass multiple values by separating them with commas in the API request.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;ticketNumber&quot;:&quot;101&quot;,&quot;subCategory&quot;:null,&quot;statusType&quot;:&quot;Open&quot;,&quot;subject&quot;:&quot;Real Time analysis Requirement&quot;,&quot;dueDate&quot;:&quot;2016-06-21T16:16:16.000Z&quot;,&quot;departmentId&quot;:&quot;1892000000006907&quot;,&quot;channel&quot;:&quot;Email&quot;,&quot;isRead&quot;:true,&quot;onholdTime&quot;:null,&quot;language&quot;:&quot;English&quot;,&quot;closedTime&quot;:null,&quot;sharedCount&quot;:&quot;0&quot;,&quot;contact&quot;:{&quot;lastName&quot;:&quot;Lawrence&quot;,&quot;firstName&quot;:&quot;Jonathan&quot;,&quot;phone&quot;:&quot;1 888 900 9646&quot;,&quot;mobile&quot;:&quot;8834567907&quot;,&quot;id&quot;:&quot;1892000000042032&quot;,&quot;type&quot;:null,&quot;email&quot;:&quot;lawrence@zylker.com&quot;,&quot;account&quot;:{&quot;website&quot;:null,&quot;accountName&quot;:&quot;desk Account&quot;,&quot;id&quot;:&quot;1892000000975382&quot;}},&quot;createdTime&quot;:&quot;2013-11-04T11:21:07.000Z&quot;,&quot;id&quot;:&quot;1892000000042034&quot;,&quot;department&quot;:{&quot;name&quot;:&quot;dasdasdasd&quot;,&quot;id&quot;:&quot;1892000000006907&quot;},&quot;email&quot;:&quot;lawrence@zylker.com&quot;,&quot;customerResponseTime&quot;:&quot;2013-11-04T11:21:07.912Z&quot;,&quot;productId&quot;:null,&quot;contactId&quot;:&quot;1892000000042032&quot;,&quot;threadCount&quot;:&quot;121&quot;,&quot;team&quot;:{&quot;name&quot;:&quot;kjsdfjks&quot;,&quot;id&quot;:&quot;8920000000069071&quot;},&quot;priority&quot;:&quot;High&quot;,&quot;assigneeId&quot;:&quot;1892000000056007&quot;,&quot;commentCount&quot;:&quot;1&quot;,&quot;phone&quot;:null,&quot;webUrl&quot;:&quot;https://desk.zoho.com/support/zylker/ShowHomePage.do#Cases/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38&quot;,&quot;teamId&quot;:&quot;8920000000069071&quot;,&quot;isSpam&quot;:false,&quot;assignee&quot;:{&quot;firstName&quot;:&quot;dasca&quot;,&quot;lastName&quot;:&quot;vins&quot;,&quot;photoURL&quot;:&quot;https://desk.zoho.com/api/v1/agents/1892000000056007/photo?orgId=298902&quot;,&quot;id&quot;:&quot;1892000000056007&quot;,&quot;email&quot;:&quot;jack@zylker.com&quot;},&quot;category&quot;:null,&quot;status&quot;:&quot;Open&quot;},{&quot;ticketNumber&quot;:&quot;169&quot;,&quot;subCategory&quot;:null,&quot;statusType&quot;:&quot;Open&quot;,&quot;subject&quot;:&quot;Hi. There is a sudden delay in the processing of the orders. Check this with high priority&quot;,&quot;dueDate&quot;:null,&quot;departmentId&quot;:&quot;1892000000006907&quot;,&quot;channel&quot;:&quot;Facebook&quot;,&quot;isRead&quot;:true,&quot;onholdTime&quot;:null,&quot;closedTime&quot;:null,&quot;sharedCount&quot;:&quot;0&quot;,&quot;contact&quot;:{&quot;lastName&quot;:&quot;Lawrence&quot;,&quot;firstName&quot;:&quot;Jonathan&quot;,&quot;phone&quot;:&quot;1 888 900 9646&quot;,&quot;mobile&quot;:&quot;8834534901&quot;,&quot;id&quot;:&quot;1892000000042032&quot;,&quot;type&quot;:null,&quot;email&quot;:&quot;lawrence@zylker.com&quot;,&quot;account&quot;:{&quot;website&quot;:null,&quot;accountName&quot;:&quot;desk Account&quot;,&quot;id&quot;:&quot;1892000000975382&quot;}},&quot;createdTime&quot;:&quot;2014-03-06T09:34:53.000Z&quot;,&quot;id&quot;:&quot;1892000000093205&quot;,&quot;department&quot;:{&quot;name&quot;:&quot;dasdasdasd&quot;,&quot;id&quot;:&quot;1892000000006907&quot;},&quot;email&quot;:&quot;lawrence@zylker.com&quot;,&quot;customerResponseTime&quot;:&quot;2014-03-11T07:51:29.618Z&quot;,&quot;productId&quot;:null,&quot;contactId&quot;:&quot;1892000000093203&quot;,&quot;threadCount&quot;:&quot;43&quot;,&quot;team&quot;:{&quot;name&quot;:&quot;kjsdfjks&quot;,&quot;id&quot;:&quot;8920000000069071&quot;},&quot;priority&quot;:null,&quot;assigneeId&quot;:&quot;1892000000042001&quot;,&quot;commentCount&quot;:&quot;0&quot;,&quot;phone&quot;:null,&quot;webUrl&quot;:&quot;https://desk.zoho.com/support/zylker/ShowHomePage.do#Cases/dv/d126330fb061247d9ebc54aeb9d93ba74750b0284bc703b38&quot;,&quot;teamId&quot;:&quot;8920000000069071&quot;,&quot;isSpam&quot;:false,&quot;assignee&quot;:{&quot;firstName&quot;:&quot;dasca&quot;,&quot;lastName&quot;:&quot;vins&quot;,&quot;photoURL&quot;:&quot;https://desk.zoho.com/api/v1/agents/1892000000042001/photo?orgId=298902&quot;,&quot;id&quot;:&quot;1892000000042001&quot;,&quot;email&quot;:&quot;jack@zylker.com&quot;},&quot;category&quot;:null,&quot;status&quot;:&quot;Open&quot;}]}