Rows

Replace rows in batch in draft table

Changed on

Replaces multiple rows as a batch in the draft version of the table, with a maximum of 100 rows per call. See the endpoint PUT /tables/{tableIdOrName}/rows/{rowId}/draft for details on updating a single row.

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

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft/batch/replace
  • 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

tableIdOrNamestring required

The unique identifier or name of the HubDB table where the draft rows will be replaced.

Request body

Response

successful operation

completedAtstring date-time required

The timestamp indicating when the batch processing was completed.

linksobject

A collection of related links associated with the batch response.

requestedAtstring date-time

The timestamp indicating when the batch request was made.

startedAtstring date-time required

The timestamp indicating when the batch processing began.

status'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING' required

The current status of the batch operation, with possible values: CANCELED, COMPLETE, PENDING, PROCESSING.

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