Get topic comment
GET {{baseUrl}}/api/v1/communityTopics/:id/comments/([0-9]+)
This API fetches a comment received on a topic.
OAuth Scope
Desk.community.READ
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"modifiedTime":"2018-10-16T10:29:15.219Z","creator":{"photoUrl":"https://desk.zoho.com/api/v1/agents/7000000015971/photo?orgId=123456","name":"user 1","id":"7000000015971","label":{"preferences":{"shape":"RECTANGLE","bgColor":"#23F123","textColor":"#2CA123"},"name":"Admin","id":"6000000158001","logoUrl":"https://desk.zoho.com/portal/api/publicImages/6000000158231?orgId=14132"}},"attachments":[{"size":"1166","name":"download (1).png","id":"4000000019033","href":"https://desk.zoho.com/api/v1/topics/4000000019003/comments/4000000019013/attachments/4000000019033/content?orgId=123456"}],"replies":[{"modifiedTime":"2018-10-16T10:34:34.114Z","creator":{"photoUrl":"https://desk.zoho.com/api/v1/agents/7000000015971/photo?orgId=123456","name":"user 1","id":"7000000015971","label":{"preferences":{"shape":"RECTANGLE","bgColor":"#23F123","textColor":"#2CA123"},"name":"Admin","id":"6000000158001","logoUrl":"https://desk.zoho.com/portal/api/publicImages/6000000158231?orgId=14132"}},"attachments":[{"size":"1166","name":"download (1).png","id":"4000000019037","href":"https://desk.zoho.com/api/v1/topics/4000000019003/comments/4000000019035/attachments/4000000019037/content?orgId=123456"}],"createdTime":"2018-10-16T10:34:20.858Z","parentCommentId":"4000000019013","id":"4000000019035","content":"\u003cdiv\u003etest 3\u003cbr /\u003e\u003c/div\u003e","status":"PUBLISHED"}],"createdTime":"2018-10-16T09:41:40.077Z","id":"4000000019013","content":"\u003cdiv\u003ecomment 1\u003cbr /\u003e\u003c/div\u003e","status":"PUBLISHED"}