Notes types

Available note types

NameName
commonText note
call_inIncoming call
call_outOutgoing call
service_messageService message (created by the integration)
geolocationText note with the geo-tag (added via Kommo mobile app)
sms_inIncoming SMS
sms_outOutgoing SMS
extended_service_messageExtended service message (supports extended text length and can be minimized in the interface)
attachmentNote with the file

Note types that require the “params” array

common

"params": {
   "text": "Common note"
}

call_in


"params": {
   "uniq": "XXXXX-5fb3-406d-93a3-a4832dc28f8b",
   "duration": 60,
   "source": "Twilio",
   "link": "https://example.com",
   "phone": "+14155551234"
}

call_out

"params": {
   "uniq": "XXXXXXX-5fb3-406d-93a3-a4832dc28f8b",
   "duration": 60,
   "source": "Twilio",
   "link": "https://example.com",
   "phone": "+14155551234"
}

service_message/extended_service_message

"params": {
   "service": "Example service",
   "text": "Note text"
}

geolocation

"params": {
   "text": "Geolocation",
   "address": "222 Columbus Ave Ste 407",
   "longitude": "-13",
   "latitude": "32"
}

sms_in

"params": {
  "text": "New incoming SMS",
  "phone": "+14155551234"
}

sms_out

"params": {
   "text": "New outgoing SMS",
   "phone": "+14155551234"
}

attachment

"params": {
  "version_uuid": "XXXXXX-4122-4cad-b121-9709882b4cc1", // File version can be omitted; the latest version will be used
  "file_uuid": "XXXXXX-3a29-4d30-8953-bac68c05e8e8",
  "file_name": "изображение.png", // File name that will be displayed in the note
}