Tables
Export a draft table
Changed onExports the draft version of a table to CSV / EXCEL format.
get/cms/hubdb/2026-03/tables/{tableIdOrName}/draft/export
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/draft/export
- 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.rows.read
Path parameters
tableIdOrNamestring required
The unique identifier or name of the HubDB table to export in draft form.
Query parameters
formatstring
The format in which to export the table data. This parameter specifies the desired file format for the exported data.
Response
An error occurred.
Example response
{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}Changes
- info
the security scope
hubdbwas added to the endpoint's security schemeoauth2 - info
the security scope
hubdb.rows.readwas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
hubdb.rows.readwas added to the endpoint's security schemeoauth2 - info
the security scope
hubdb-data-readwas removed from the endpoint's security schemeoauth2
- info