> ## Documentation Index
> Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a note to a conversation

Creates an internal note within a conversation that is only visible to team members. Notes support HTML content, @mentions to notify specific agents, and can trigger automated actions. Maximum size is 8MB.


## OpenAPI

````yaml https://api.getfernand.com/openapi.json post /conversations/{id}/notes
openapi: 3.0.3
info:
  title: Fernand API Documentation
  version: '3.0'
  description: This is the documentation for the [Fernand](https://getfernand.com) API.
  termsOfService: https://getfernand.com/terms
  contact:
    name: Fernand Support
    url: https://getfernand.com
    email: support@getfernand.com
  x-logo:
    url: https://app.getfernand.com/images/favicon/icon_128.png
servers:
  - url: https://api.getfernand.com
    description: ''
    x-last-modified: 1764750693905
security:
  - apiKeyHeader: []
externalDocs:
  description: You can access our documentation online by visiting https://api.fernand.help
  url: https://api.fernand.help
paths:
  /conversations/{id}/notes:
    post:
      tags:
        - Notes
      summary: Add a note to a conversation
      description: >-
        Creates an internal note within a conversation that is only visible to
        team members. Notes support HTML content, @mentions to notify specific
        agents, and can trigger automated actions. Maximum size is 8MB.
      operationId: addConversationNote
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
            format: int64
          description: ID of the conversation to add the note to.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content:
                  type: string
                  maxLength: 10485760
                  description: HTML content of the note (required, max 8MB).
                mentions:
                  type: array
                  items:
                    type: string
                  description: |
                    Array of agent IDs or special mentions to notify.
                    Use "everyone" to notify all team members.
                  example:
                    - '42'
                    - everyone
                actions:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        description: >-
                          Name of the action to execute (e.g., teammates.assign,
                          status.close).
                      data:
                        type: object
                        description: Action-specific parameters.
                      snippet_id:
                        type: integer
                        description: >-
                          ID of the snippet this action came from (for
                          tracking).
                  description: >-
                    Automated actions to execute after creating the note
                    (optional).
                note_id:
                  type: integer
                  format: int64
                  description: >-
                    If updating an existing draft note, provide its ID
                    (optional).
                generated_id:
                  type: string
                  description: >-
                    Client-generated ID to track the note in the response
                    (optional, returned unchanged).
              required:
                - content
      responses:
        '200':
          description: Note added successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversationNote'
        '400':
          description: Invalid input or note content too large.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '403':
          description: Missing required permission (conversation.note).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '404':
          description: Conversation not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
components:
  schemas:
    ConversationNote:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the note
          example: n-123456
        agent_id:
          type: integer
          format: int64
          nullable: true
          description: ID of the agent who created the note
          example: 42
        conversation_id:
          type: integer
          format: int64
          description: ID of the conversation this note belongs to
          example: 12345
        message:
          type: string
          description: HTML content of the note
          example: <p>Customer mentioned they prefer email communication.</p>
        created:
          type: string
          format: date-time
          description: ISO 8601 timestamp when the note was created
          example: '2026-01-21T14:30:00Z'
        type:
          type: string
          enum:
            - NOTE
          description: Type of entry (always NOTE for conversation notes)
          example: NOTE
        timestamp:
          type: string
          format: date-time
          description: ISO 8601 timestamp for sorting entries (same as created)
          example: '2026-01-21T14:30:00Z'
        actions:
          type: array
          items:
            type: object
          description: Array of automated actions triggered by this note
        edited_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            ISO 8601 timestamp when the note was last edited, or null if never
            edited
          example: '2026-01-21T15:00:00Z'
      required:
        - id
        - conversation_id
        - message
        - created
        - type
        - timestamp
      x-computed-hash: 038dff7ecb709161310e1f432f81b912c8ba9915d38aed5f5fb7cccc5874d7d8
      x-last-modified: 1769075325
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      description: >-
        Authenticate your account by including your secret key in API requests.

        You can manage your API keys in the
        [Dashboard](https://app.getfernand.com/).


        Authentication to the API is performed by using the HTTP Header
        X-API-Key.
      name: X-API-Key
      in: header
      x-last-modified: 1764750344730

````