Rows

Add a new row to a table

Changed on

Add a new row to a HubDB table. New rows will be added to the draft version of the table. Use the /publish endpoint to push these changes to published version.

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

Request

  • Base URL
    https://api.hubapi.com
  • Auth
    • OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopeshubdb
    • or OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopeshubdb.rows.write

Path parameters

tableIdOrNamestring required

The unique identifier or name of the HubDB table where the new row will be added.

Request body

childTableIdinteger required

Specifies the value for the column child table id

displayIndexinteger required

The index position for displaying the row within the table.

namestring

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

pathstring

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

valuesobject required

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

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

    • 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