Moov · Capability

Moov API — Representatives

Moov API — Representatives. 5 operations. Lead operation: Add a representative. Self-contained Naftiko capability covering one Moov business surface.

Run with Naftiko MoovRepresentatives

What You Can Do

POST
Addrepresentative — Add a representative
/v1/accounts/{accountid}/representatives
GET
Listrepresentatives — List representatives
/v1/accounts/{accountid}/representatives
GET
Getrepresentative — Retrieve a representative
/v1/accounts/{accountid}/representatives/{representativeid}
PATCH
Updaterepresentative — Update a representative
/v1/accounts/{accountid}/representatives/{representativeid}
DELETE
Removerepresentative — Remove a representative
/v1/accounts/{accountid}/representatives/{representativeid}

MCP Tools

add-representative

Add a representative

list-representatives

List representatives

read-only idempotent
retrieve-representative

Retrieve a representative

read-only idempotent
update-representative

Update a representative

idempotent
remove-representative

Remove a representative

idempotent

Capability Spec

moov-representatives.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Moov API — Representatives
  description: 'Moov API — Representatives. 5 operations. Lead operation: Add a representative. Self-contained Naftiko capability
    covering one Moov business surface.'
  tags:
  - Moov
  - Representatives
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MOOV_API_KEY: MOOV_API_KEY
capability:
  consumes:
  - type: http
    namespace: moov-representatives
    baseUri: https://api.moov.io
    description: Moov API — Representatives business capability. Self-contained, no shared references.
    resources:
    - name: accounts-accountID-representatives
      path: /accounts/{accountID}/representatives
      operations:
      - name: addrepresentative
        method: POST
        description: Add a representative
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listrepresentatives
        method: GET
        description: List representatives
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: accounts-accountID-representatives-representativeID
      path: /accounts/{accountID}/representatives/{representativeID}
      operations:
      - name: getrepresentative
        method: GET
        description: Retrieve a representative
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updaterepresentative
        method: PATCH
        description: Update a representative
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: removerepresentative
        method: DELETE
        description: Remove a representative
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MOOV_API_KEY}}'
  exposes:
  - type: rest
    namespace: moov-representatives-rest
    port: 8080
    description: REST adapter for Moov API — Representatives. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/accounts/{accountid}/representatives
      name: accounts-accountid-representatives
      description: REST surface for accounts-accountID-representatives.
      operations:
      - method: POST
        name: addrepresentative
        description: Add a representative
        call: moov-representatives.addrepresentative
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listrepresentatives
        description: List representatives
        call: moov-representatives.listrepresentatives
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{accountid}/representatives/{representativeid}
      name: accounts-accountid-representatives-representativeid
      description: REST surface for accounts-accountID-representatives-representativeID.
      operations:
      - method: GET
        name: getrepresentative
        description: Retrieve a representative
        call: moov-representatives.getrepresentative
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updaterepresentative
        description: Update a representative
        call: moov-representatives.updaterepresentative
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removerepresentative
        description: Remove a representative
        call: moov-representatives.removerepresentative
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: moov-representatives-mcp
    port: 9090
    transport: http
    description: MCP adapter for Moov API — Representatives. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: add-representative
      description: Add a representative
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: moov-representatives.addrepresentative
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-representatives
      description: List representatives
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: moov-representatives.listrepresentatives
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-representative
      description: Retrieve a representative
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: moov-representatives.getrepresentative
      outputParameters:
      - type: object
        mapping: $.
    - name: update-representative
      description: Update a representative
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: moov-representatives.updaterepresentative
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: remove-representative
      description: Remove a representative
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: moov-representatives.removerepresentative
      outputParameters:
      - type: object
        mapping: $.