---
updatedAt: 2026-10-29T14:39:11.000Z
agentTools:
  projectIndex: https://docs.sumsub.com/llms.txt
---

# Edit transaction notes

# Overview

Use this method to edit an existing transaction note.

<Callout icon="📘" theme="info">
  ### Note

  To add a new note to the particular transaction, use [this method](https://docs.sumsub.com/sumsub/reference/add-txn-notes).
</Callout>

## Required permissions

To use this method, your [app token](https://docs.sumsub.com/sumsub/docs/app-tokens) must have the **View TM transactions** [permission](https://docs.sumsub.com/sumsub/docs/user-roles#permissions).

## Request example

```curl
curl -X PATCH \
     'https://api.sumsub.com/resources/kyt/txns/notes' \
     -H 'content-type: application/json' \
     -H 'X-App-Token: <your-app-token>' \
     -H 'X-App-Access-Sig: <your-signature>' \
     -H 'X-App-Access-Ts: <unix-timestamp>' \
     -d '{
            "txnId": "66c46d7566f5244e45a00000",
            "id": "66cf0fcec9ba855902100000",
            "note": "Updated text of the note"
          }'
```

# Response explained

The response is a JSON file representing the details of the updated note.

The following table explains the response attributes.

| Field       | Type   | Description                                                                                            |
| :---------- | :----- | :----------------------------------------------------------------------------------------------------- |
| `id`        | String | Note identifier. You may need it in case you want to edit or [remove the note](https://docs.sumsub.com/sumsub/reference/remove-txn-notes) . |
| `txnId`     | String | Unique transaction identifier in the Sumsub system.                                                    |
| `note`      | String | Text of the note that was added to the transaction.                                                    |
| `createdAt` | Date   | Date and time when the note was added.                                                                 |
| `createdBy` | String | Identifier of the note author.                                                                         |

## Response examples

If the request is sent and processed successfully, you will receive a response like the following:

```json
{
  "id": "66cf0fcec9ba855902121cf7",
  "txnId": "66c46d7566f5244e45a81167",
  "note": "Updated text of the note",
  "createdAt": "2024-08-28 11:53:50+0000",
  "createdBy": "service-prd-XXXDYWTFWAQXXX-app-name lastname"
}
```

If the request fails, you will receive an HTTP response containing an error code along with a message explaining the error. For example:

```json
{
  "description": "Malformed data provided in the request",
  "code": 400,
  "correlationId": "f08a5c47fbb49289bb1c8116a296ddf5"
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "sumsub-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.sumsub.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "X-App-Token",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/resources/kyt/txns/notes": {
      "patch": {
        "summary": "Edit transaction notes",
        "description": "",
        "operationId": "edit-txn-notes",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "txnId",
                  "id",
                  "note"
                ],
                "properties": {
                  "txnId": {
                    "type": "string",
                    "description": "Unique transaction identifier in the Sumsub system. <br><br>This ID is returned in the [response](https://docs.sumsub.com/reference/get-transaction#root-variables) to this request and a webhook (`kytTxnId`). Save it for future use in subsequent API calls. Alternatively, you can get this identifier by the [following method](ref:get-transaction-information-by-txnid)."
                  },
                  "id": {
                    "type": "string",
                    "description": "Unique note identifier. <br><br>ⓘ If this identifier is unknown to you, use [this method](ref:get-txn-notes) to fetch it."
                  },
                  "note": {
                    "type": "string",
                    "description": "New text of the note."
                  },
                  "tags": {
                    "type": "array",
                    "description": "[Tags](ref:add-txn-tags) that you may want to assign to the transaction (one tag per string). Mind that tag names are case sensitive.",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```