Get a contract comment

GET {{baseUrl}}/v1/contracts/:contract_id/comments/{comment_id}

This API fetches a contract comment from the portal.

OAuth Scope

  • Desk.settings.READ

Request Params

KeyDatatypeRequiredDescription
includestringSecondary information related to the comments. Value allowed is mentions, which returns the details of users mentioned in the comments.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"modifiedTime":"2017-01-24T19:50:40.000Z","attachments":[{"size":"12734","name":"Attachment_edited.png","id":"4000000008994","href":"https://desk.zoho.com/api/v1/contracts/4000000528005/comments/4000000529001/attachments/4000000008994/content"}],"commentedTime":"2017-01-24T19:50:08.000Z","id":"4000000530053","contentType":"plainText","content":"second contract comment edit","commenterId":"4000000008692","mention":[],"commenter":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/portalUser/4000000008692/photo?orgId=292828","name":"Jade Tywin","roleName":"PortalUser","type":"END_USER","email":"jade12tywin@zylker.com"}}