Skip to main content
POST
Required token scopes: Add notes to all chats The note is attached to a message of the chat: the one you send in messageId, or else the chat’s latest message. A chat with no messages gets a note without messageId. The note’s author is your API token. Send customName to show your own name in the inbox (for example your system’s name); otherwise the inbox shows a default name for API notes.

Authorizations

Authorization
string
header
required

API token generated in Texter: gear icon → Developers → API Tokens. When creating a token, assign it the scopes required by the endpoints you plan to call - each endpoint lists its required scopes.

Path Parameters

chatId
string
required

The unique identifier of the chat. You can obtain this value by using the Search Chats endpoint with the contact's phone number

Body

application/json
text
string
required

The note text, up to 4096 characters

Maximum string length: 4096
messageId
string

ID of a message in this chat to attach the note to. Defaults to the chat's latest message. A message of another chat returns 400

customName
string

Author name shown in the inbox instead of the default. Up to 50 characters, must contain a visible character

Maximum string length: 50

Response

The created note

An internal note on a chat

_id
string
required

Unique note ID

Example:

"6731f0c2a1b2c3d4e5f60718"

chatId
string
required

ID of the chat the note belongs to

Example:

"67a87067aeed4dee1271cb4d"

text
string
required

The note text

author
object
required

Who wrote the note. Kept as it is on every edit

createdAt
integer
required

Creation time, Unix milliseconds

Example:

1762851000000

updatedAt
integer
required

Last change time, Unix milliseconds

Example:

1762851000000

messageId
string

ID of the chat message the note is attached to. Missing when the chat had no messages

lastEditor
object

Who made the last text edit. Missing on notes that were never edited