Create a contact comment

POST {{baseUrl}}/v1/contacts/:contact_id/comments

This API adds a comment to a contact.

OAuth Scope

  • Desk.contacts.UPDATE

Attributes

Attribute NameData TypeDescription
content<string>
max chars : 32000
Content of the comment. To retrieve or set user mentions, use this code format: zsu[@user:{zuid}zsu.
contentType<string>
max chars : 100
Used to denote the content-type which maybe html or plainText. The default type is html.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;modifiedTime&quot;:null,&quot;commentedTime&quot;:&quot;2017-01-24T19:34:56.358Z&quot;,&quot;id&quot;:&quot;4000000530043&quot;,&quot;contentType&quot;:&quot;html&quot;,&quot;content&quot;:&quot;First contact comment&quot;,&quot;commenterId&quot;:&quot;4000000008692&quot;,&quot;commenter&quot;:{&quot;firstName&quot;:&quot;Jade&quot;,&quot;lastName&quot;:&quot;Tywin&quot;,&quot;photoURL&quot;:&quot;https://desk.zoho.com/api/v1/agents/4000000008692/photo?orgId=292828&quot;,&quot;name&quot;:&quot;Jade Tywin&quot;,&quot;roleName&quot;:&quot;CEO&quot;,&quot;type&quot;:&quot;AGENT&quot;,&quot;email&quot;:&quot;jade12tywin@zylker.com&quot;}}