Hunter · Capability

Hunter API — Leads Lists

Hunter API — Leads Lists. 5 operations. Lead operation: Hunter List Leads Lists. Self-contained Naftiko capability covering one Hunter business surface.

Run with Naftiko HunterLeads Lists

What You Can Do

GET
Listleadslists — Hunter List Leads Lists
/v1/leads-lists
POST
Createleadslist — Hunter Create Leads List
/v1/leads-lists
GET
Getleadslist — Hunter Get Leads List
/v1/leads-lists/{id}
PUT
Updateleadslist — Hunter Update Leads List
/v1/leads-lists/{id}
DELETE
Deleteleadslist — Hunter Delete Leads List
/v1/leads-lists/{id}

MCP Tools

hunter-list-leads-lists

Hunter List Leads Lists

read-only idempotent
hunter-create-leads-list

Hunter Create Leads List

hunter-get-leads-list

Hunter Get Leads List

read-only idempotent
hunter-update-leads-list

Hunter Update Leads List

idempotent
hunter-delete-leads-list

Hunter Delete Leads List

idempotent

Capability Spec

hunter-leads-lists.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Hunter API — Leads Lists
  description: 'Hunter API — Leads Lists. 5 operations. Lead operation: Hunter List Leads Lists. Self-contained Naftiko capability
    covering one Hunter business surface.'
  tags:
  - Hunter
  - Leads Lists
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HUNTER_API_KEY: HUNTER_API_KEY
capability:
  consumes:
  - type: http
    namespace: hunter-leads-lists
    baseUri: https://api.hunter.io/v2
    description: Hunter API — Leads Lists business capability. Self-contained, no shared references.
    resources:
    - name: leads_lists
      path: /leads_lists
      operations:
      - name: listleadslists
        method: GET
        description: Hunter List Leads Lists
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of lists to return. Default is 20, max is 100.
        - name: offset
          in: query
          type: integer
          description: Number of lists to skip for pagination.
      - name: createleadslist
        method: POST
        description: Hunter Create Leads List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: leads_lists-id
      path: /leads_lists/{id}
      operations:
      - name: getleadslist
        method: GET
        description: Hunter Get Leads List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateleadslist
        method: PUT
        description: Hunter Update Leads List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteleadslist
        method: DELETE
        description: Hunter Delete Leads List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.HUNTER_API_KEY}}'
  exposes:
  - type: rest
    namespace: hunter-leads-lists-rest
    port: 8080
    description: REST adapter for Hunter API — Leads Lists. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/leads-lists
      name: leads-lists
      description: REST surface for leads_lists.
      operations:
      - method: GET
        name: listleadslists
        description: Hunter List Leads Lists
        call: hunter-leads-lists.listleadslists
        with:
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createleadslist
        description: Hunter Create Leads List
        call: hunter-leads-lists.createleadslist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/leads-lists/{id}
      name: leads-lists-id
      description: REST surface for leads_lists-id.
      operations:
      - method: GET
        name: getleadslist
        description: Hunter Get Leads List
        call: hunter-leads-lists.getleadslist
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateleadslist
        description: Hunter Update Leads List
        call: hunter-leads-lists.updateleadslist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteleadslist
        description: Hunter Delete Leads List
        call: hunter-leads-lists.deleteleadslist
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hunter-leads-lists-mcp
    port: 9090
    transport: http
    description: MCP adapter for Hunter API — Leads Lists. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: hunter-list-leads-lists
      description: Hunter List Leads Lists
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hunter-leads-lists.listleadslists
      with:
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: hunter-create-leads-list
      description: Hunter Create Leads List
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: hunter-leads-lists.createleadslist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hunter-get-leads-list
      description: Hunter Get Leads List
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hunter-leads-lists.getleadslist
      outputParameters:
      - type: object
        mapping: $.
    - name: hunter-update-leads-list
      description: Hunter Update Leads List
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: hunter-leads-lists.updateleadslist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hunter-delete-leads-list
      description: Hunter Delete Leads List
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: hunter-leads-lists.deleteleadslist
      outputParameters:
      - type: object
        mapping: $.