Front · Capability

Core API — Contact Notes

Core API — Contact Notes. 2 operations. Lead operation: List notes. Self-contained Naftiko capability covering one Front business surface.

Run with Naftiko FrontContact Notes

What You Can Do

GET
Listnotes — List notes
/v1/contacts/{contact-id}/notes
POST
Addnote — Add note
/v1/contacts/{contact-id}/notes

MCP Tools

list-notes

List notes

read-only idempotent
add-note

Add note

Capability Spec

core-contact-notes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Core API — Contact Notes
  description: 'Core API — Contact Notes. 2 operations. Lead operation: List notes. Self-contained Naftiko capability covering
    one Front business surface.'
  tags:
  - Front
  - Contact Notes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FRONT_API_KEY: FRONT_API_KEY
capability:
  consumes:
  - type: http
    namespace: core-contact-notes
    baseUri: https://api2.frontapp.com
    description: Core API — Contact Notes business capability. Self-contained, no shared references.
    resources:
    - name: contacts-contact_id-notes
      path: /contacts/{contact_id}/notes
      operations:
      - name: listnotes
        method: GET
        description: List notes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contact_id
          in: path
          type: string
          description: The contact ID. Alternatively, you can supply the contact's source and handle as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
          required: true
      - name: addnote
        method: POST
        description: Add note
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contact_id
          in: path
          type: string
          description: The contact ID. Alternatively, you can supply the contact's source and handle as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.FRONT_API_KEY}}'
  exposes:
  - type: rest
    namespace: core-contact-notes-rest
    port: 8080
    description: REST adapter for Core API — Contact Notes. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/contacts/{contact-id}/notes
      name: contacts-contact-id-notes
      description: REST surface for contacts-contact_id-notes.
      operations:
      - method: GET
        name: listnotes
        description: List notes
        call: core-contact-notes.listnotes
        with:
          contact_id: rest.contact_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: addnote
        description: Add note
        call: core-contact-notes.addnote
        with:
          contact_id: rest.contact_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: core-contact-notes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Core API — Contact Notes. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-notes
      description: List notes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-contact-notes.listnotes
      with:
        contact_id: tools.contact_id
      outputParameters:
      - type: object
        mapping: $.
    - name: add-note
      description: Add note
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-contact-notes.addnote
      with:
        contact_id: tools.contact_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.