Get details for a draft table
Changed onGet the details for the draft version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/draft
- Auth
- OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb.tables.read
Path parameters
The unique identifier or name of the table to retrieve the draft for.
Query parameters
Whether to return only results that have been archived.
Include foreign IDs in the response if set to true.
Whether to retrieve the localized schema if available.
Response
successful operation
Changes
- info
the security scope
hubdbwas added to the endpoint's security schemeoauth2 - info
the security scope
hubdb.tables.readwas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
hubdb.tables.readwas added to the endpoint's security schemeoauth2 - info
the security scope
hubdb-schemas-readwas removed from the endpoint's security schemeoauth2
- info