Get a task comment
GET {{baseUrl}}/v1/tasks/:task_id/comments/{comment_id}
This API fetches a task comment from the portal.
OAuth Scope
Desk.activities.READ
Desk.activities.tasks.READ
Desk.tasks.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include | string | Secondary information related to the comments. Value allowed is mentions , which returns the details of users mentioned in the comments. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"modifiedTime":null,"attachments":[{"size":"12734","name":"Attachment_edited.png","id":"4000000008994","href":"https://desk.zoho.com/api/v1/tasks/4000000528005/comments/4000000529001/attachments/4000000008994/content"}],"commentedTime":"2017-01-24T15:04:47.000Z","id":"4000000530005","contentType":"plainText","content":"Second Task Comment......","commenterId":"4000000008692","mention":[],"commenter":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/agents/4000000008692/photo?orgId=292828","name":"Jade Tywin","roleName":"CEO","type":"AGENT","email":"jade12tywin@zylker.com"}}