Vibes Platform · Capability

Vibes Platform API — Callbacks

Vibes Platform API — Callbacks. 2 operations. Lead operation: List Callbacks. Self-contained Naftiko capability covering one Vibes Platform business surface.

Run with Naftiko Vibes PlatformCallbacks

What You Can Do

GET
Listcallbacks — List Callbacks
/v1/companies/{company-key}/callbacks
POST
Registercallback — Register Callback
/v1/companies/{company-key}/callbacks

MCP Tools

list-callbacks

List Callbacks

read-only idempotent
register-callback

Register Callback

Capability Spec

vibes-platform-callbacks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Vibes Platform API — Callbacks
  description: 'Vibes Platform API — Callbacks. 2 operations. Lead operation: List Callbacks. Self-contained Naftiko capability
    covering one Vibes Platform business surface.'
  tags:
  - Vibes Platform
  - Callbacks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VIBES_PLATFORM_API_KEY: VIBES_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: vibes-platform-callbacks
    baseUri: https://public-api.vibescm.com
    description: Vibes Platform API — Callbacks business capability. Self-contained, no shared references.
    resources:
    - name: companies-company_key-callbacks
      path: /companies/{company_key}/callbacks
      operations:
      - name: listcallbacks
        method: GET
        description: List Callbacks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: registercallback
        method: POST
        description: Register Callback
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.VIBES_PLATFORM_USER}}'
      password: '{{env.VIBES_PLATFORM_PASS}}'
  exposes:
  - type: rest
    namespace: vibes-platform-callbacks-rest
    port: 8080
    description: REST adapter for Vibes Platform API — Callbacks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/companies/{company-key}/callbacks
      name: companies-company-key-callbacks
      description: REST surface for companies-company_key-callbacks.
      operations:
      - method: GET
        name: listcallbacks
        description: List Callbacks
        call: vibes-platform-callbacks.listcallbacks
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: registercallback
        description: Register Callback
        call: vibes-platform-callbacks.registercallback
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: vibes-platform-callbacks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Vibes Platform API — Callbacks. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-callbacks
      description: List Callbacks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: vibes-platform-callbacks.listcallbacks
      outputParameters:
      - type: object
        mapping: $.
    - name: register-callback
      description: Register Callback
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: vibes-platform-callbacks.registercallback
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.