Get transaction notes

Overview

Use this method to retrieve all the notes added to the specific transaction.

Request example

curl -X GET \
     'https://api.sumsub.com/resources/kyt/txns/66c46d7566f5244e45a81167/notes'

Response explained

The response is a JSON file representing the list of notes added to the specified transaction.

The following tables explain the element fields of the response body.

FieldTypeDescription
itemsArray of objectsEach item is an object representing the note with its details.
totalItemsIntegerTotal number of the notes found.

items element fields

The following table explains the items element fields representing the note details.

FieldTypeDescription
idStringNote identifier. You may need it in case you want to edit the note or remove it .
txnIdStringTransaction identifier in the Sumsub system.
noteStringText of the note that was added to the transaction.
createdAtDateDate and time when the note was added.
createdByDateIdentifier of the note author.

Response examples

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

{
  "list": {
    "items": [
      {
        "id": "66ceed13d427a60000000000",
        "txnId": "66c46d7566f5240000000000",
        "note": "This is a test note",
        "createdAt": "2024-08-28 09:25:39+0000",
        "createdBy": "service-prd-JYHGDETVKPUYTFD-app-name lastname"
      },
      {
        "id": "66cf0fcec9ba850000000000",
        "txnId": "66c46d7566f5240000000000",
        "note": "Another test note",
        "createdAt": "2024-08-28 11:53:50+0000",
        "createdBy": "service-prd-XXXGDETVKPUYYYY-app-name lastname"
      }
    ],
    "totalItems": 2
  }
}

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

{
  "description": "Invalid id '66c46d71231566f5244e45a81167'",
  "code": 400,
  "correlationId": "955bce80ffb06f470d4bd7665f02f2df"
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!