---
updatedAt: 2026-07-27T13:22:38.000Z
agentTools:
  projectIndex: https://developers.kommo.com/llms.txt
---

# Edit notes

This method allows to edit multiple notes. An array of objects is passed.

**Limitations**\
The method is available for all account users. The returned data depends on the user’s rights for the entity.

**Data type header when the request is successful**\
Content-Type: application/hal+json

**Data type header in case of an error**\
Content-Type: application/problem+json

## Response parameters

The method returns an array of note objects.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "kommo-api-references",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{subdomain}.kommo.com",
      "variables": {
        "subdomain": {
          "default": "subdomain"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v4/{entity_type}/notes": {
      "patch": {
        "summary": "Edit notes",
        "description": "This method allows to edit multiple notes. An array of objects is passed.",
        "operationId": "edit-notes",
        "parameters": [
          {
            "name": "entity_type",
            "in": "path",
            "description": "leads/contacts/companies",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Content-Type",
            "in": "header",
            "description": "Request header",
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "RAW_BODY": {
                    "type": "array",
                    "items": {
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "Note ID",
                          "format": "int32"
                        },
                        "entity_id": {
                          "type": "integer",
                          "description": "ID of the entity the note is added to",
                          "format": "int32"
                        },
                        "note_type": {
                          "type": "string",
                          "description": "Note type (https://developers.kommo.com/reference/notes-types)"
                        },
                        "params": {
                          "type": "string",
                          "description": "Note properties depending on the note type (https://developers.kommo.com/reference/notes-types)",
                          "format": "json"
                        }
                      },
                      "required": [
                        "id",
                        "entity_id"
                      ],
                      "type": "object"
                    }
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": [
                    {
                      "id": 12341234,
                      "note_type": "sms_in",
                      "params": {
                        "text": "New incoming SMS",
                        "phone": "+14155551234"
                      }
                    },
                    {
                      "id": 43214321,
                      "note_type": "sms_out",
                      "params": {
                        "text": "New outbound SMS",
                        "phone": "+14155551234"
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Notes edited successfully": {
                    "value": "{\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://example.kommo.com/api/v4/leads/notes\"\n        }\n    },\n    \"_embedded\": {\n        \"notes\": [\n            {\n                \"id\": 76610421,\n                \"entity_id\": 167353,\n                \"updated_at\": 1588841241,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"https://example.kommo.com/api/v4/leads/167353/notes/76610421\"\n                    }\n                }\n            },\n            {\n                \"id\": 76610423,\n                \"entity_id\": 167353,\n                \"updated_at\": 1588841241,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"https://example.kommo.com/api/v4/leads/167353/notes/76610423\"\n                    }\n                }\n            }\n        ]\n    }\n}\n   "
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "_links": {
                      "type": "object",
                      "properties": {
                        "self": {
                          "type": "object",
                          "properties": {
                            "href": {
                              "type": "string",
                              "example": "https://example.kommo.com/api/v4/leads/notes"
                            }
                          }
                        }
                      }
                    },
                    "_embedded": {
                      "type": "object",
                      "properties": {
                        "notes": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 76610421,
                                "default": 0
                              },
                              "entity_id": {
                                "type": "integer",
                                "example": 167353,
                                "default": 0
                              },
                              "updated_at": {
                                "type": "integer",
                                "example": 1588841241,
                                "default": 0
                              },
                              "_links": {
                                "type": "object",
                                "properties": {
                                  "self": {
                                    "type": "object",
                                    "properties": {
                                      "href": {
                                        "type": "string",
                                        "example": "https://example.kommo.com/api/v4/leads/167353/notes/76610421"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Invalid data given. Details are available in the response": {
                    "value": ""
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "User is not authorized": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "402": {
            "description": "402",
            "content": {
              "text/plain": {
                "examples": {
                  "Unpaid account": {
                    "value": ""
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "text/plain": {
                "examples": {
                  "Insufficient rights to call this method": {
                    "value": ""
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```