Get Latest thread
GET {{baseUrl}}/api/v1/tickets/:ticket_id/latestThread
This API fetches the most recent thread recorded in a ticket.
OAuth Scope
Desk.tickets.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
needPublic | string | Key that denotes if the thread must be a public thread | |
include | string | Content of the thread in plain text format. Value allowed is plainText . | |
threadStatus | string | Receipt status of the thread. Value allowed is success |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"cc":"","summary":"Please provide us with a valid solution within the suggested time frame so that we can proceed with the implementation","attachments":[{"size":"1913","name":"ScreenShot","id":"1892000001083005","href":"https://desk.zoho.com/api/v1/tickets/1892000000094004/threads/1892000001083008/attachments/1892000001083005/content"}],"bcc":"","canReply":true,"visibility":"public","author":{"firstName":"Jade","lastName":"Tywin","photoURL":null,"name":"Jade Tywin","type":"END_USER","email":"jade12tywin@zylker.com"},"channel":"EMAIL","source":{"appName":null,"extId":null,"type":"SYSTEM","permalink":null,"appPhotoURL":null},"content":"Please provide us with a valid solution within the suggested time frame so that we can proceed with the implementation","isForward":false,"hasAttach":true,"replyTo":"jhonwin@zylker.com","createdTime":"2016-06-02T18:17:55.000Z","to":"techsupport@zylker.com","id":"1892000001083008","fromEmailAddress":"jade12tywin@zylker.com","actions":[],"contentType":"text/html","status":"SUCCESS","direction":"in"}