Get a ticket

GET {{baseUrl}}/api/v1/tickets/:ticket_id

This API fetches a single ticket from your helpdesk.

OAuth Scope

  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
includestringKey that fetches secondary information related to the ticket. Values allowed are: contacts, products, assignee, departments, contract, isRead, team, and skills . Multiple values can be passed, with commas for separation.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"modifiedTime":"2016-06-21T13:16:14.000Z","subCategory":"Sub General","statusType":"Open","subject":"Hi. There is a sudden delay in the processing of the orders. Check this with high priority","dueDate":"2016-06-21T16:16:16.000Z","departmentId":"1892000000006907","channel":"FORUMS","onholdTime":null,"language":"English","source":{"appName":null,"extId":null,"type":"SYSTEM","permalink":null,"appPhotoURL":null},"resolution":null,"sharedDepartments":[{"name":"Sample Department Name","id":"1892000000006909","type":"READ_WRITE"},{"name":"Sample Department Name","id":"1892000000006911","type":"READ_ONLY"}],"closedTime":null,"sharedCount":"3","approvalCount":"1","isOverDue":false,"isTrashed":false,"contact":{"lastName":"Carol","firstName":"Lucas","phone":"1 888 900 9646","mobile":"8838486174","id":"1892000000042032","isSpam":false,"type":null,"email":"carol@zylker.com","account":{"website":"www.desk.com","accountName":"desk Account","id":"1892000000975382"}},"createdTime":"2013-11-04T11:21:07.000Z","id":"1892000000042034","customerResponseTime":"2013-11-04T11:21:07.912Z","productId":null,"contactId":"1892000000042032","threadCount":"121","secondaryContacts":["1892000000042038","1892000000042042","1892000000042056"],"priority":"High","classification":null,"commentCount":"1","taskCount":"1","phone":"1 888 900 9646","webUrl":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Cases/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38","isSpam":false,"assignee":{"firstName":"dasca","lastName":"vins","photoURL":"https://desk.zoho.com/api/v1/agents/1892000000056007/photo?orgId=298902","id":"1892000000056007","email":"jack@zylker.com"},"status":"Open","entitySkills":["18921000000379001","18921000000364001","18921000000379055","18921000000379031"],"ticketNumber":"101","isRead":false,"description":"Hi. There is a sudden delay in the processing of the orders. Check this with high priority","timeEntryCount":"3","channelRelatedInfo":{"topicId":"1892000000056253","isTopicDeleted":false,"forumStatus":"ANALYSING","sourceLink":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Community/singlepost/problem-topic-forum-ticket-18-5-2018","topicType":"PROBLEM"},"isDeleted":"false","department":{"name":"dasdasdasd","id":"1892000000006907"},"followerCount":"5","email":"carol@zylker.com","channelCode":null,"product":null,"cf":{"cf_permanentaddress":null,"cf_dateofpurchase":null,"cf_phone":null,"cf_numberofitems":null,"cf_url":null,"cf_secondaryemail":null,"cf_severitypercentage":"0.0","cf_modelname":"F3 2017"},"isFollowing":"true","team":{"name":"kjsdfjks","id":"8920000000069071"},"assigneeId":"1892000000056007","teamId":"8920000000069071","contractId":null,"tagCount":"2","attachmentCount":"1","isEscalated":false,"category":"general"}