> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Add text note

> Adds a text note to a token.

## Overview

Adds a text note to a token.

## HTTP request

`POST /Agent/Tokens/AddTextNote`

## Authentication

Requires a valid JWT bearer token.

## Request (JSON)

```json theme={null}
{
	"tokenId":Required(Str(PTokenId)),
	"note":Required(Str(PNote)),
	"personal":Required(Boolean(PPersonal))
}
```

## Input parameters

| Parameter | Description                                                                               |
| --------- | ----------------------------------------------------------------------------------------- |
| PTokenId  | ID of token.                                                                              |
| PNote     | Text note to add.                                                                         |
| PPersonal | If the note is personal or note. Personal notes are deleted when the token changes owner. |

## Response (JSON)

```json theme={null}
{
	"Note":Required(PNote)
}
```

## Response parameters

| Parameter | Description                        |
| --------- | ---------------------------------- |
| PNote     | Generated note added to the token. |

## Notes

This endpoint uses the request schema notation described in [Pattern matching](/guides/pattern-matching).
