Skip to main content
POST
Leave an internal note on a conversation. Notes are not messages: they are never sent to the contact and are only included in the AI's context when marked AiVisible.

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

leadId
string
required

Body

body
string | null
required
aiVisible
boolean
required

Whether the AI agent can see this note in its conversation context.

mentionedAccountIds
string[] | null

Account IDs of users @-mentioned in the body. Team members are always allowed; clients only if they have access to the lead's source. Anything else is dropped silently.

Response

OK

noteId
string | null
required
aiVisible
boolean
required