List all threads
GET {{baseUrl}}/api/v1/tickets/:ticket_id/threads
This API lists all threads in your helpdesk.
OAuth Scope
Desk.tickets.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | Index number, starting from which the threads must be fetched | |
limit | string | Number of threads to fetch |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"isDescriptionThread":true,"canReply":true,"visibility":"public","author":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/user/176276372673/photo","name":"Jade Tywin","type":"END_USER","email":"jade12tywin@zylker.com"},"channel":"FORUMS","source":{"appName":null,"extId":null,"type":"SYSTEM","permalink":null,"appPhotoURL":null},"lastRatingIconURL":null,"hasAttach":false,"channelRelatedInfo":{"isDeleted":"false","isBestSolution":"true","externalLink":null},"respondedIn":null,"createdTime":"2015-03-25T13:40:23.031Z","attachmentCount":"7","id":"1892000000413186","fromEmailAddress":"jade12tywin@zylker.com","actions":[],"contentType":"text/html","status":"SUCCESS","direction":"in"},{"summary":"Customer Rating","cc":"","isDescriptionThread":false,"bcc":"","canReply":true,"visibility":"public","author":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/agents/1892000000042001/photo?orgId=3983939","name":"Jade Tywin","type":"AGENT","email":"jade12tywin@zylker.com"},"channel":"EMAIL","source":{"appName":null,"extId":null,"type":"SYSTEM","permalink":null,"appPhotoURL":null},"isForward":false,"hasAttach":true,"responderId":"1892000000042001","channelRelatedInfo":null,"respondedIn":"00:05:14","createdTime":"2016-05-25T10:06:09.686Z","attachmentCount":"4","id":"1892000001004072","to":"carol@zylker.com","fromEmailAddress":"techsupport@zylker.com","actions":[{"method":"POST","rel":"send","href":"https://desk.zoho.com/api/v1/tickets/1892000000093205/resendFailedThread?threadId=1892000001083008"}],"contentType":"text/html","status":"FAILED","direction":"out"},{"summary":"Please fix this problem, since it is urgent posted the issue on Facebook ","isDescriptionThread":false,"canReply":true,"visibility":"public","author":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/agents/2150000000043591/photo?orgId=3983939","name":"Jade Tywin","type":"AGENT","email":"jade12tywin@zylker.com"},"channel":"FACEBOOK","source":{"appName":null,"extId":null,"type":"SYSTEM","permalink":null,"appPhotoURL":null},"lastRatingIconURL":"https://desk.zoho.com/api/v1/ratingOptions/31138000005998227/logo?orgId=54983163","hasAttach":false,"responderId":"2150000000043591","channelRelatedInfo":null,"respondedIn":"00:04:09","createdTime":"2016-07-25T10:04:43.739Z","attachmentCount":"6","id":"2150000002498038","actions":[{"method":"POST","rel":"send","href":"https://desk.zoho.com/api/v1/tickets/1892000000094004/sendDraft?draftThreadId=1892000001004072"},{"method":"DELETE","rel":"delete","href":"https://desk.zoho.com/api/v1/tickets/1892000000094004/draftReply/1892000001004072"}],"contentType":"text/html","status":"DRAFT","direction":"out"},{"isDescriptionThread":false,"canReply":true,"visibility":"public","author":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/user/176276372673/photo","name":"Jade Tywin","type":"END_USER","email":"jade12tywin@zylker.com"},"channel":"FEEDBACK","source":{"appName":null,"extId":null,"type":"SYSTEM","permalink":null,"appPhotoURL":null},"lastRatingIconURL":null,"hasAttach":false,"channelRelatedInfo":null,"respondedIn":null,"createdTime":"2015-03-25T13:40:23.031Z","attachmentCount":"5","id":"1892000000413189","fromEmailAddress":"jade12tywin@zylker.com","actions":[],"contentType":"text/html","status":"SUCCESS","direction":"in"}]}