HubSpot · Capability

HubSpot CMS HubDB API — Tables

HubSpot CMS HubDB API — Tables. 6 operations. Lead operation: Hubspot List Hubdb Tables. Self-contained Naftiko capability covering one Hubspot business surface.

Run with Naftiko HubspotTables

What You Can Do

GET
Listhubdbtables — Hubspot List Hubdb Tables
/v1/cms/v3/hubdb/tables
POST
Createhubdbtable — Hubspot Create a Hubdb Table
/v1/cms/v3/hubdb/tables
GET
Gethubdbtable — Hubspot Get a Hubdb Table
/v1/cms/v3/hubdb/tables/{tableidorname}
PUT
Updatehubdbtable — Hubspot Update a Hubdb Table
/v1/cms/v3/hubdb/tables/{tableidorname}
DELETE
Deletehubdbtable — Hubspot Delete a Hubdb Table
/v1/cms/v3/hubdb/tables/{tableidorname}
POST
Publishhubdbtabledraft — Hubspot Publish Hubdb Table Draft
/v1/cms/v3/hubdb/tables/{tableidorname}/draft/push-live

MCP Tools

hubspot-list-hubdb-tables

Hubspot List Hubdb Tables

read-only idempotent
hubspot-create-hubdb-table

Hubspot Create a Hubdb Table

hubspot-get-hubdb-table

Hubspot Get a Hubdb Table

read-only idempotent
hubspot-update-hubdb-table

Hubspot Update a Hubdb Table

idempotent
hubspot-delete-hubdb-table

Hubspot Delete a Hubdb Table

idempotent
hubspot-publish-hubdb-table-draft

Hubspot Publish Hubdb Table Draft

Capability Spec

cms-hubdb-tables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HubSpot CMS HubDB API — Tables
  description: 'HubSpot CMS HubDB API — Tables. 6 operations. Lead operation: Hubspot List Hubdb Tables. Self-contained Naftiko
    capability covering one Hubspot business surface.'
  tags:
  - Hubspot
  - Tables
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HUBSPOT_API_KEY: HUBSPOT_API_KEY
capability:
  consumes:
  - type: http
    namespace: cms-hubdb-tables
    baseUri: https://api.hubapi.com
    description: HubSpot CMS HubDB API — Tables business capability. Self-contained, no shared references.
    resources:
    - name: cms-v3-hubdb-tables
      path: /cms/v3/hubdb/tables
      operations:
      - name: listhubdbtables
        method: GET
        description: Hubspot List Hubdb Tables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sort
          in: query
          type: string
          description: Field to sort results by.
        - name: after
          in: query
          type: string
          description: The cursor for pagination to get the next page of results.
        - name: limit
          in: query
          type: integer
          description: The maximum number of results to return per page.
        - name: createdAt
          in: query
          type: string
          description: Filter tables created at this timestamp.
        - name: updatedAt
          in: query
          type: string
          description: Filter tables updated at this timestamp.
      - name: createhubdbtable
        method: POST
        description: Hubspot Create a Hubdb Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: cms-v3-hubdb-tables-tableIdOrName
      path: /cms/v3/hubdb/tables/{tableIdOrName}
      operations:
      - name: gethubdbtable
        method: GET
        description: Hubspot Get a Hubdb Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tableIdOrName
          in: path
          type: string
          description: The ID or name of the HubDB table to retrieve.
          required: true
      - name: updatehubdbtable
        method: PUT
        description: Hubspot Update a Hubdb Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tableIdOrName
          in: path
          type: string
          description: The ID or name of the HubDB table to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletehubdbtable
        method: DELETE
        description: Hubspot Delete a Hubdb Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tableIdOrName
          in: path
          type: string
          description: The ID or name of the HubDB table to delete.
          required: true
    - name: cms-v3-hubdb-tables-tableIdOrName-draft-push-live
      path: /cms/v3/hubdb/tables/{tableIdOrName}/draft/push-live
      operations:
      - name: publishhubdbtabledraft
        method: POST
        description: Hubspot Publish Hubdb Table Draft
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tableIdOrName
          in: path
          type: string
          description: The ID or name of the HubDB table to publish.
          required: true
    authentication:
      type: bearer
      token: '{{env.HUBSPOT_API_KEY}}'
  exposes:
  - type: rest
    namespace: cms-hubdb-tables-rest
    port: 8080
    description: REST adapter for HubSpot CMS HubDB API — Tables. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/cms/v3/hubdb/tables
      name: cms-v3-hubdb-tables
      description: REST surface for cms-v3-hubdb-tables.
      operations:
      - method: GET
        name: listhubdbtables
        description: Hubspot List Hubdb Tables
        call: cms-hubdb-tables.listhubdbtables
        with:
          sort: rest.sort
          after: rest.after
          limit: rest.limit
          createdAt: rest.createdAt
          updatedAt: rest.updatedAt
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createhubdbtable
        description: Hubspot Create a Hubdb Table
        call: cms-hubdb-tables.createhubdbtable
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/cms/v3/hubdb/tables/{tableidorname}
      name: cms-v3-hubdb-tables-tableidorname
      description: REST surface for cms-v3-hubdb-tables-tableIdOrName.
      operations:
      - method: GET
        name: gethubdbtable
        description: Hubspot Get a Hubdb Table
        call: cms-hubdb-tables.gethubdbtable
        with:
          tableIdOrName: rest.tableIdOrName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatehubdbtable
        description: Hubspot Update a Hubdb Table
        call: cms-hubdb-tables.updatehubdbtable
        with:
          tableIdOrName: rest.tableIdOrName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletehubdbtable
        description: Hubspot Delete a Hubdb Table
        call: cms-hubdb-tables.deletehubdbtable
        with:
          tableIdOrName: rest.tableIdOrName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/cms/v3/hubdb/tables/{tableidorname}/draft/push-live
      name: cms-v3-hubdb-tables-tableidorname-draft-push-live
      description: REST surface for cms-v3-hubdb-tables-tableIdOrName-draft-push-live.
      operations:
      - method: POST
        name: publishhubdbtabledraft
        description: Hubspot Publish Hubdb Table Draft
        call: cms-hubdb-tables.publishhubdbtabledraft
        with:
          tableIdOrName: rest.tableIdOrName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cms-hubdb-tables-mcp
    port: 9090
    transport: http
    description: MCP adapter for HubSpot CMS HubDB API — Tables. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: hubspot-list-hubdb-tables
      description: Hubspot List Hubdb Tables
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cms-hubdb-tables.listhubdbtables
      with:
        sort: tools.sort
        after: tools.after
        limit: tools.limit
        createdAt: tools.createdAt
        updatedAt: tools.updatedAt
      outputParameters:
      - type: object
        mapping: $.
    - name: hubspot-create-hubdb-table
      description: Hubspot Create a Hubdb Table
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cms-hubdb-tables.createhubdbtable
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hubspot-get-hubdb-table
      description: Hubspot Get a Hubdb Table
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cms-hubdb-tables.gethubdbtable
      with:
        tableIdOrName: tools.tableIdOrName
      outputParameters:
      - type: object
        mapping: $.
    - name: hubspot-update-hubdb-table
      description: Hubspot Update a Hubdb Table
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cms-hubdb-tables.updatehubdbtable
      with:
        tableIdOrName: tools.tableIdOrName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hubspot-delete-hubdb-table
      description: Hubspot Delete a Hubdb Table
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cms-hubdb-tables.deletehubdbtable
      with:
        tableIdOrName: tools.tableIdOrName
      outputParameters:
      - type: object
        mapping: $.
    - name: hubspot-publish-hubdb-table-draft
      description: Hubspot Publish Hubdb Table Draft
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cms-hubdb-tables.publishhubdbtabledraft
      with:
        tableIdOrName: tools.tableIdOrName
      outputParameters:
      - type: object
        mapping: $.