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
Key | Datatype | Required | Description |
---|---|---|---|
from | string | Index number, starting from which the comment activities must be fetched | |
include | string | Secondary information related to the comments. Value allowed is mentions , which returns the details of users mentioned in the comments. | |
limit | string | Number of comment activities to fetch |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
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"}}]}