Get details of a published table
Changed onReturns the details for the published version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table.
Note: This endpoint can be accessed without any authentication if the table is set to be allowed for public access. To do so, you'll need to include the HubSpot account ID in a portalId query parameter.
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}
- 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.
Query parameters
Whether to return only results that have been archived.
Include foreign IDs in the response.
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