Demandbase · Capability

Demandbase Account List API — Account Lists

Demandbase Account List API — Account Lists. 5 operations. Lead operation: Demandbase List account lists. Self-contained Naftiko capability covering one Demandbase business surface.

Run with Naftiko DemandbaseAccount Lists

What You Can Do

GET
Listaccountlists — Demandbase List account lists
/v1/lists
POST
Createaccountlist — Demandbase Create an account list
/v1/lists
GET
Getaccountlist — Demandbase Get an account list
/v1/lists/{listid}
PUT
Updateaccountlist — Demandbase Update an account list
/v1/lists/{listid}
DELETE
Deleteaccountlist — Demandbase Delete an account list
/v1/lists/{listid}

MCP Tools

demandbase-list-account-lists

Demandbase List account lists

read-only idempotent
demandbase-create-account-list

Demandbase Create an account list

demandbase-get-account-list

Demandbase Get an account list

read-only idempotent
demandbase-update-account-list

Demandbase Update an account list

idempotent
demandbase-delete-account-list

Demandbase Delete an account list

idempotent

Capability Spec

account-list-account-lists.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Demandbase Account List API — Account Lists
  description: 'Demandbase Account List API — Account Lists. 5 operations. Lead operation: Demandbase List account lists.
    Self-contained Naftiko capability covering one Demandbase business surface.'
  tags:
  - Demandbase
  - Account Lists
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEMANDBASE_API_KEY: DEMANDBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: account-list-account-lists
    baseUri: https://api.demandbase.com/accounts
    description: Demandbase Account List API — Account Lists business capability. Self-contained, no shared references.
    resources:
    - name: lists
      path: /lists
      operations:
      - name: listaccountlists
        method: GET
        description: Demandbase List account lists
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
        - name: offset
          in: query
          type: integer
      - name: createaccountlist
        method: POST
        description: Demandbase Create an account list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: lists-listId
      path: /lists/{listId}
      operations:
      - name: getaccountlist
        method: GET
        description: Demandbase Get an account list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateaccountlist
        method: PUT
        description: Demandbase Update an account list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteaccountlist
        method: DELETE
        description: Demandbase Delete an account list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.DEMANDBASE_API_KEY}}'
  exposes:
  - type: rest
    namespace: account-list-account-lists-rest
    port: 8080
    description: REST adapter for Demandbase Account List API — Account Lists. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/lists
      name: lists
      description: REST surface for lists.
      operations:
      - method: GET
        name: listaccountlists
        description: Demandbase List account lists
        call: account-list-account-lists.listaccountlists
        with:
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createaccountlist
        description: Demandbase Create an account list
        call: account-list-account-lists.createaccountlist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/lists/{listid}
      name: lists-listid
      description: REST surface for lists-listId.
      operations:
      - method: GET
        name: getaccountlist
        description: Demandbase Get an account list
        call: account-list-account-lists.getaccountlist
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateaccountlist
        description: Demandbase Update an account list
        call: account-list-account-lists.updateaccountlist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteaccountlist
        description: Demandbase Delete an account list
        call: account-list-account-lists.deleteaccountlist
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: account-list-account-lists-mcp
    port: 9090
    transport: http
    description: MCP adapter for Demandbase Account List API — Account Lists. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: demandbase-list-account-lists
      description: Demandbase List account lists
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: account-list-account-lists.listaccountlists
      with:
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: demandbase-create-account-list
      description: Demandbase Create an account list
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: account-list-account-lists.createaccountlist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: demandbase-get-account-list
      description: Demandbase Get an account list
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: account-list-account-lists.getaccountlist
      outputParameters:
      - type: object
        mapping: $.
    - name: demandbase-update-account-list
      description: Demandbase Update an account list
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: account-list-account-lists.updateaccountlist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: demandbase-delete-account-list
      description: Demandbase Delete an account list
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: account-list-account-lists.deleteaccountlist
      outputParameters:
      - type: object
        mapping: $.