Skip to content

Adds a comment to a contact

Method create.contact_comment
Description Adds a comment to a contact
Who has access Agents and clients

Request parameters

Name Type Required Valid values Description
access_token string yes Session key used to authenticate the request
contact_id string yes Unique ID of the contact. To retrieve contacts, call "get.contacts".
comment string yes Comment text to add to the contact

Response parameters

Name Type Required Description
data object yes Response payload
data.success boolean yes Indicates whether the comment was successfully added

Example request

{
  "jsonrpc":"2.0",
  "method":"create.contact_comment",
  "id":"number",
  "params":{
    "access_token":"string",
    "contact_id":"string",
    "comment":"string"
  }
}

Example response

{
  "jsonrpc":"2.0",
  "id":"number",
  "result":{
    "data":{
      "success":"boolean"
    }
  }
}

List of returned errors

See the "List of errors for create methods" section.