Add a visitor note
const url = 'https://api.inside.chat/api/v1/visitors/example/notes';const options = { method: 'POST', headers: { 'Idempotency-Key': 'example', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"text":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.inside.chat/api/v1/visitors/example/notes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: example' \ --data '{ "text": "example" }'Required scopes:
conversation_read,visitor_notes_write,message_content_read,contact_read_pii
Data access:message_content,pii,internal_notes
MCP tool:visitor_note_add
Note: Write
Note:Idempotency-Keyrequired
Note: mapped native author
Add a visitor note using the newest persisted conversation, including non-AI conversations, with an enabled native author mapped to this exact website. Requires an unrestricted installation policy. Visitors without a stored conversation are unavailable. Results are retained for 24 hours. A permanent content-free tombstone prevents the same key from creating a new effect after result expiry. Reuse the same key and identical input when retrying. Changed input or policy/revisions conflict. Current policy is checked before result reuse. An unknown outcome returns 409 outcome_unknown; never retry with a new key automatically.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional; if present must match the resource owner.
Header Parameters
Section titled “Header Parameters”A stable key for this intended effect. Reuse the same key and input for retries; never automatically replace it after an unknown outcome.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Nonempty after trimming; maximum length is 4000 UTF-16 code units.
Example generated
{ "text": "example"}Responses
Section titled “Responses”Authorized result. Projection depends on current scopes and data policy.
The stored note, attributed to the mapped native operator.
object
Example
{ "data": { "success": true }}Headers
Section titled “Headers”Retained command receipt identifier when command reservation was acknowledged; use operation_get with the original credential and website. Not proof of native success or delivery.
Invalid, duplicate or unsupported request parameters.
Missing, expired or revoked installation credential.
Resource not found or not permitted by current authority.
Idempotency_conflict: the key has different input or authority revisions; operation_in_progress: the same command is pending; operation_conflict: native business state rejects the change; outcome_unknown: the native result is uncertain or no longer retained. Keep the same key and input for retries; never automatically create a new key or resubmit the effect.
object
Example
{ "status": 409, "code": "idempotency_conflict"}Headers
Section titled “Headers”Retained command receipt identifier when command reservation was acknowledged; use operation_get with the original credential and website. Not proof of native success or delivery.
The requested capability is not available for application installations.
Per-app quota exceeded.
Headers
Section titled “Headers”Enrollment, native service or required authority is unavailable.