List all call comments
GET {{baseUrl}}/v1/calls/:call_id/comments
This API lists a particular number of comments recorded on a call, based on the limit specified.
OAuth Scope
Desk.activities.calls.READ
Desk.activities.READ
Desk.tasks.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | Index number starting from which the comments must be fetched | |
limit | string | No. of comments to fetch | |
sortBy | string | Sort comments by the commentedTime attribute. The default sorting order is ascending. A - prefix denotes descending order of sorting. | |
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
{"data":[{"modifiedTime":null,"commentedTime":"2017-01-24T15:04:47.000Z","id":"4000000530005","contentType":"plainText","commenterId":"4000000008692","content":"Second Call Comment......","mention":[],"commenter":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/agent/4000000008692/photo","name":"Jade Tywin","roleName":"LightAgent","type":"AGENT","email":"jade12tywin@zylker.com"}},{"modifiedTime":"2017-01-24T14:56:20.000Z","attachments":[{"size":"12734","name":"Attachment_list.png","id":"4000000008994","href":"https://desk.zoho.com/api/v1/calls/4000000528005/comments/4000000529001/attachments/4000000008994/content"}],"commentedTime":"2017-01-24T14:54:33.000Z","id":"4000000530003","contentType":"html","commenterId":"4000000008692","content":"Edit Call comment","mention":[],"commenter":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/portalUser/4000000008692/photo","name":"Jade Tywin","roleName":"PortalUser","type":"END_USER","email":"jade12tywin@zylker.com"}}]}