Truto · Capability

Truto Unified CRM API — Stages

Truto Unified CRM API — Stages. 1 operations. Lead operation: List stages. Self-contained Naftiko capability covering one Truto business surface.

Run with Naftiko TrutoStages

What You Can Do

GET
Liststages — List stages
/v1/stages

MCP Tools

list-stages

List stages

read-only idempotent

Capability Spec

unified-crm-stages.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Truto Unified CRM API — Stages
  description: 'Truto Unified CRM API — Stages. 1 operations. Lead operation: List stages. Self-contained Naftiko capability
    covering one Truto business surface.'
  tags:
  - Truto
  - Stages
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRUTO_API_KEY: TRUTO_API_KEY
capability:
  consumes:
  - type: http
    namespace: unified-crm-stages
    baseUri: https://api.truto.one/unified/crm
    description: Truto Unified CRM API — Stages business capability. Self-contained, no shared references.
    resources:
    - name: stages
      path: /stages
      operations:
      - name: liststages
        method: GET
        description: List stages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cursor
          in: query
          type: string
        - name: limit
          in: query
          type: integer
    authentication:
      type: bearer
      token: '{{env.TRUTO_API_KEY}}'
  exposes:
  - type: rest
    namespace: unified-crm-stages-rest
    port: 8080
    description: REST adapter for Truto Unified CRM API — Stages. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/stages
      name: stages
      description: REST surface for stages.
      operations:
      - method: GET
        name: liststages
        description: List stages
        call: unified-crm-stages.liststages
        with:
          cursor: rest.cursor
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: unified-crm-stages-mcp
    port: 9090
    transport: http
    description: MCP adapter for Truto Unified CRM API — Stages. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-stages
      description: List stages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: unified-crm-stages.liststages
      with:
        cursor: tools.cursor
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.