Get a ticket comment history

GET {{baseUrl}}/v1/tickets/:ticket_id/comments/{comment_id}/history

This API fetches the history of comments recorded on a ticket, including instances of adding and editing the comments.

OAuth Scope

  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
fromstringIndex number, starting from which the comment activities must be fetched
includestringSecondary information related to the comments. Value allowed is mentions, which returns the details of users mentioned in the comments.
limitstringNumber of comment activities to fetch

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"attachments":["sample.png","sam.txt"],"commentedTime":"2013-11-04T11:21:07.912Z","isPublic":false,"commenterId":13231241244,"content":"hello comment","commenter":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/agents/2000000012629/photo?orgId=292828","name":"Jade Tywin","roleName":"CEO","type":"AGENT","email":"hagdsag@zylker.com"}},{"attachments":["sample.png","sam.txt"],"commentedTime":"2013-11-04T11:21:07.912Z","isPublic":true,"commenterId":13231241244,"content":"hello comment","commenter":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/agents/2000000012629/photo?orgId=292828","name":"Jade Tywin","roleName":"LightAgent","type":"AGENT","email":"hagdsag@zylker.com"}}]}