Rows

Clones a single row in the draft version of a table.

post/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/{rowId}/draft/clone

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/{rowId}/draft/clone
  • Auth
    • OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb.rows.write

Path parameters

rowIdstring required

The unique identifier of the row to be cloned. This must be a numeric string.

tableIdOrNamestring required

The unique identifier or name of the HubDB table containing the row to be cloned.

Query parameters

namestring

The new name for the cloned row. If not provided, the cloned row will retain the original name.

Response

successful operation

childTableIdstring required

Specifies the value for the column child table id

createdAtstring date-time required

Timestamp at which the row is created

idstring required

The id of the table row

namestring required

Specifies the value for hs_name column, which will be used as title in the dynamic pages

pathstring required

Specifies the value for hs_path column, which will be used as slug in the dynamic pages

publishedAtstring date-time required

The timestamp indicating when the row was last published, in date-time format.

updatedAtstring date-time required

Timestamp at which the row is updated last time

valuesobject required

List of key value pairs with the column name and column value

Changes

    • info

      the security scope hubdb was added to the endpoint's security scheme oauth2

    • info

      the security scope hubdb.rows.write was removed from the endpoint's security scheme oauth2

  • 2026-03f907bc4f599cRevision changes
    • info

      the security scope hubdb.rows.write was added to the endpoint's security scheme oauth2

    • info

      the security scope hubdb-data-write was removed from the endpoint's security scheme oauth2