Available note types
Name | Name |
---|---|
common | Text note |
call_in | Incoming call |
call_out | Outgoing call |
service_message | Service message (created by the integration) |
geolocation | Text note with the geo-tag (added via Kommo mobile app) |
sms_in | Incoming SMS |
sms_out | Outgoing SMS |
extended_service_message | Extended service message (supports extended text length and can be minimized in the interface) |
attachment | Note 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
}